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.001014/0.001014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001045/0.001045, allocations: 195.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7403/0.7403, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.67 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 80.19 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4089/0.5534, allocations: 165.2 MB / 0.7408 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.5559, allocations: 1.575 MB / 0.7423 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.5562, allocations: 12.03 kB / 0.7423 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.5566, allocations: 113.6 kB / 0.7424 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5581, allocations: 0.6805 MB / 0.7431 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.5593, allocations: 0.5425 MB / 0.7436 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007919/0.5601, allocations: 0.9895 MB / 0.7446 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.5604, allocations: 199.9 kB / 0.7448 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.561, allocations: 323.7 kB / 0.7451 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.5612, allocations: 243.2 kB / 0.7453 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.5613, allocations: 15.12 kB / 0.7453 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.5627, allocations: 1.012 MB / 0.7463 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.5629, allocations: 99.83 kB / 0.7464 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.563, allocations: 171.5 kB / 0.7466 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.564, allocations: 0.7751 MB / 0.7473 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.564, allocations: 0 / 0.7473 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.82e-07/0.564, allocations: 0 / 0.7473 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.564, allocations: 0 / 0.7473 GB, free: 6.074 MB / 0.5606 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.0009175/0.5649, allocations: 0.6656 MB / 0.748 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.565, allocations: 9.938 kB / 0.748 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.565, allocations: 61.98 kB / 0.7481 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5662, allocations: 152.1 kB / 0.7482 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.5665, allocations: 316.7 kB / 0.7485 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5666, allocations: 22.56 kB / 0.7485 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.5666, allocations: 23.09 kB / 0.7485 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.5671, allocations: 281.9 kB / 0.7488 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5671, allocations: 3.938 kB / 0.7488 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5671, allocations: 10.25 kB / 0.7488 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5671, allocations: 5.562 kB / 0.7488 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.5675, allocations: 200.9 kB / 0.749 GB, free: 4.746 MB / 0.5606 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.001308/0.5689, allocations: 1.228 MB / 0.7502 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5691, allocations: 145 kB / 0.7504 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.5693, allocations: 94.92 kB / 0.7505 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.5699, allocations: 307.9 kB / 0.7508 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.57, allocations: 34.56 kB / 0.7508 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.57, allocations: 0 / 0.7508 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007408/0.5707, allocations: 298.2 kB / 0.7511 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.5708, allocations: 51.41 kB / 0.7511 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.5711, allocations: 320.7 kB / 0.7514 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5711, allocations: 32.2 kB / 0.7515 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5712, allocations: 187.9 kB / 0.7516 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.5713, allocations: 58.98 kB / 0.7517 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.5713, allocations: 44.23 kB / 0.7517 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5715, allocations: 347.9 kB / 0.7521 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5716, allocations: 68.58 kB / 0.7521 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.5718, allocations: 123.9 kB / 0.7522 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.5722, allocations: 199.2 kB / 0.7524 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5722, allocations: 0 / 0.7524 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004433/0.5726, allocations: 254.7 kB / 0.7527 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5727, allocations: 8.094 kB / 0.7527 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5727, allocations: 0 / 0.7527 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5727, allocations: 5.438 kB / 0.7527 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.5729, allocations: 51.91 kB / 0.7527 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5729, allocations: 0 / 0.7527 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.5731, allocations: 39.67 kB / 0.7528 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.5732, allocations: 8 kB / 0.7528 GB, free: 1.52 MB / 0.5606 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.0001327/0.5733, allocations: 159.2 kB / 0.7529 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.5734, allocations: 35.62 kB / 0.753 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.5738, allocations: 225.4 kB / 0.7532 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5739, allocations: 4 kB / 0.7532 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5739, allocations: 0 / 0.7532 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5739, allocations: 0 / 0.7532 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.5749, allocations: 0.7068 MB / 0.7539 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5749, allocations: 8.031 kB / 0.7539 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.575, allocations: 43.91 kB / 0.7539 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5751, allocations: 4 kB / 0.7539 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5751, allocations: 7.938 kB / 0.7539 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5751, allocations: 0 / 0.7539 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5751, allocations: 7.938 kB / 0.754 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.5757, allocations: 442.9 kB / 0.7544 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5759, allocations: 128.7 kB / 0.7545 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.5759, allocations: 12 kB / 0.7545 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.5761, allocations: 23.86 kB / 0.7545 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.5762, allocations: 11.98 kB / 0.7545 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.5762, allocations: 8.094 kB / 0.7545 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002033/0.5764, allocations: 235 kB / 0.7548 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5764, allocations: 0 / 0.7548 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003772/0.5768, allocations: 87.91 kB / 0.7549 GB, free: 15.25 MB / 0.5762 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.001074/0.5779, allocations: 1.041 MB / 0.7559 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.5783, allocations: 179.8 kB / 0.756 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5783, allocations: 0 / 0.756 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.5785, allocations: 91.83 kB / 0.7561 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.5794, allocations: 167.3 kB / 0.7563 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.5828, allocations: 3.096 MB / 0.7593 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.5831, allocations: 0.7846 MB / 0.7601 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.5834, allocations: 65.67 kB / 0.7601 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5835, allocations: 87.41 kB / 0.7602 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5835, allocations: 0 / 0.7602 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.6015, allocations: 8.542 MB / 0.7686 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.6017, allocations: 218 kB / 0.7688 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.616, allocations: 3.938 kB / 0.7688 GB, free: 0.9727 MB / 0.5762 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)