Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01121/0.01121, allocations: 101.5 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 196.1 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.393/2.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.397/1.397, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 67.66 kB / 0.5809 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2706, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 1.089/1.359, allocations: 167.4 MB / 0.8227 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005726/1.365, allocations: 1.565 MB / 0.8242 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008996/1.366, allocations: 11.31 kB / 0.8242 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/1.367, allocations: 153.8 kB / 0.8244 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/1.371, allocations: 0.7062 MB / 0.825 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/1.374, allocations: 0.6005 MB / 0.8256 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001898/1.376, allocations: 0.7153 MB / 0.8263 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/1.377, allocations: 239 kB / 0.8266 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/1.379, allocations: 349.5 kB / 0.8269 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00068/1.379, allocations: 233.5 kB / 0.8271 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/1.379, allocations: 22.25 kB / 0.8271 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/1.383, allocations: 0.8611 MB / 0.828 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/1.383, allocations: 118.8 kB / 0.8281 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004637/1.384, allocations: 166.7 kB / 0.8283 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/1.386, allocations: 0.7387 MB / 0.829 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.386, allocations: 0 / 0.829 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.286e-06/1.386, allocations: 6.562 kB / 0.829 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.386, allocations: 0 / 0.829 GB, free: 1.555 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001981/1.388, allocations: 0.6597 MB / 0.8296 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.389, allocations: 10.31 kB / 0.8296 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/1.389, allocations: 53.67 kB / 0.8297 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/1.391, allocations: 162.6 kB / 0.8298 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.392, allocations: 328.5 kB / 0.8302 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/1.392, allocations: 24.33 kB / 0.8302 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/1.392, allocations: 25.38 kB / 0.8302 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/1.393, allocations: 279.5 kB / 0.8305 GB, free: 328 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.393, allocations: 3.938 kB / 0.8305 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/1.393, allocations: 10.53 kB / 0.8305 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/1.393, allocations: 7.438 kB / 0.8305 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/1.394, allocations: 201.1 kB / 0.8307 GB, free: 224 kB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/1.397, allocations: 1.225 MB / 0.8319 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/1.397, allocations: 151.5 kB / 0.832 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/1.398, allocations: 92.92 kB / 0.8321 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.399, allocations: 301.7 kB / 0.8324 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.399, allocations: 33.09 kB / 0.8324 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 3.877e-06/1.399, allocations: 0 / 0.8324 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.001568/1.401, allocations: 299.9 kB / 0.8327 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.401, allocations: 51.41 kB / 0.8328 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/1.401, allocations: 325.1 kB / 0.8331 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.401, allocations: 32.23 kB / 0.8331 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/1.402, allocations: 179.6 kB / 0.8333 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/1.402, allocations: 74.56 kB / 0.8333 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.402, allocations: 46.89 kB / 0.8334 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002449/1.402, allocations: 350.6 kB / 0.8337 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/1.402, allocations: 65.61 kB / 0.8338 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/1.403, allocations: 119.3 kB / 0.8339 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/1.404, allocations: 204.1 kB / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.404, allocations: 0 / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009113/1.404, allocations: 260.6 kB / 0.8343 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.405, allocations: 4.875 kB / 0.8343 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.405, allocations: 2.25 kB / 0.8344 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/1.405, allocations: 3 kB / 0.8344 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.405, allocations: 47.19 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/1.405, allocations: 2.719 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/1.405, allocations: 33.23 kB / 0.8344 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/1.406, allocations: 7.75 kB / 0.8344 GB, free: 13.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003217/1.406, allocations: 160.5 kB / 0.8346 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.406, allocations: 30.66 kB / 0.8346 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/1.407, allocations: 225 kB / 0.8348 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.407, allocations: 0 / 0.8348 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.407, allocations: 2.469 kB / 0.8348 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.407, allocations: 3.984 kB / 0.8348 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/1.409, allocations: 0.7048 MB / 0.8355 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.409, allocations: 2.5 kB / 0.8355 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/1.41, allocations: 42.92 kB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.41, allocations: 6.531 kB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/1.41, allocations: 7 kB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/1.41, allocations: 6.297 kB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.41, allocations: 6.5 kB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.411, allocations: 439.6 kB / 0.836 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/1.411, allocations: 123.5 kB / 0.8361 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.411, allocations: 14.53 kB / 0.8362 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/1.412, allocations: 11.86 kB / 0.8362 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.412, allocations: 19.3 kB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/1.412, allocations: 4.812 kB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004798/1.412, allocations: 232.9 kB / 0.8364 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/1.412, allocations: 3.938 kB / 0.8364 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008555/1.413, allocations: 90.48 kB / 0.8365 GB, free: 11.55 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002215/1.416, allocations: 1.039 MB / 0.8375 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007891/1.416, allocations: 194.5 kB / 0.8377 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.416, allocations: 0 / 0.8377 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/1.417, allocations: 89.95 kB / 0.8378 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.418, allocations: 172.3 kB / 0.8379 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/1.426, allocations: 2.987 MB / 0.8409 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/1.426, allocations: 0.7832 MB / 0.8416 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004522/1.427, allocations: 62.2 kB / 0.8417 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.427, allocations: 92.91 kB / 0.8418 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/1.427, allocations: 0 / 0.8418 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0618/1.489, allocations: 9.148 MB / 0.8507 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.53, allocations: 0 / 0.8507 GB, free: 1.598 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)