Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001459, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9741/0.9741, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.27 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1872, allocations: 80.94 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6618/0.849, allocations: 167.3 MB / 0.7478 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.8535, allocations: 1.54 MB / 0.7493 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006808/0.8542, allocations: 11.34 kB / 0.7493 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.8549, allocations: 147.6 kB / 0.7494 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.8578, allocations: 0.7115 MB / 0.7501 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.8603, allocations: 0.5964 MB / 0.7507 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.8614, allocations: 0.6981 MB / 0.7514 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.862, allocations: 231.9 kB / 0.7516 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/0.8628, allocations: 333.2 kB / 0.7519 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.8632, allocations: 224.1 kB / 0.7521 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.8633, allocations: 23.78 kB / 0.7522 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.8657, allocations: 0.861 MB / 0.753 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.8659, allocations: 113.7 kB / 0.7531 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.8662, allocations: 158.6 kB / 0.7533 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.8677, allocations: 0.7236 MB / 0.754 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8677, allocations: 1.406 kB / 0.754 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8677, allocations: 0 / 0.754 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.8677, allocations: 0 / 0.754 GB, free: 14.93 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00119/0.8689, allocations: 0.6571 MB / 0.7546 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.869, allocations: 7.969 kB / 0.7546 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.8702, allocations: 155.9 kB / 0.7548 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.8707, allocations: 311.2 kB / 0.7551 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.8708, allocations: 16.53 kB / 0.7551 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.8708, allocations: 19.41 kB / 0.7551 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.8713, allocations: 282 kB / 0.7554 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8714, allocations: 0 / 0.7554 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.8714, allocations: 12 kB / 0.7554 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.8714, allocations: 8 kB / 0.7554 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.8718, allocations: 195.8 kB / 0.7556 GB, free: 13.55 MB / 0.5762 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.001574/0.8734, allocations: 1.215 MB / 0.7568 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.8737, allocations: 134.5 kB / 0.7569 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.8739, allocations: 88.81 kB / 0.757 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.8746, allocations: 307.2 kB / 0.7573 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.8746, allocations: 38.5 kB / 0.7573 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.8746, allocations: 0 / 0.7573 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008061/0.8754, allocations: 282.5 kB / 0.7576 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8755, allocations: 55.41 kB / 0.7576 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.8758, allocations: 312.5 kB / 0.7579 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.8759, allocations: 29.7 kB / 0.758 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.876, allocations: 184.1 kB / 0.7581 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.8761, allocations: 55.2 kB / 0.7582 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.8762, allocations: 41.7 kB / 0.7582 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8763, allocations: 342.8 kB / 0.7586 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8765, allocations: 59.95 kB / 0.7586 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.8767, allocations: 131.8 kB / 0.7587 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.8771, allocations: 193.8 kB / 0.7589 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.8771, allocations: 0 / 0.7589 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004848/0.8776, allocations: 248.4 kB / 0.7592 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8776, allocations: 4.094 kB / 0.7592 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8776, allocations: 4 kB / 0.7592 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8777, allocations: 4 kB / 0.7592 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.8779, allocations: 47.84 kB / 0.7592 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.8779, allocations: 4 kB / 0.7592 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.8781, allocations: 23.78 kB / 0.7592 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.8782, allocations: 14.42 kB / 0.7593 GB, free: 9.527 MB / 0.5762 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 (22): * Single equations (assignments): 22 * 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.0001658/0.8783, allocations: 155 kB / 0.7594 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.8784, allocations: 35.62 kB / 0.7594 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.8789, allocations: 215.2 kB / 0.7596 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.8789, allocations: 4 kB / 0.7596 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.879, allocations: 0 / 0.7596 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.879, allocations: 3.938 kB / 0.7596 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.8801, allocations: 0.6841 MB / 0.7603 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.8801, allocations: 4 kB / 0.7603 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.8803, allocations: 35.91 kB / 0.7604 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8803, allocations: 12.16 kB / 0.7604 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.8803, allocations: 0 / 0.7604 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8803, allocations: 7.625 kB / 0.7604 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8804, allocations: 7.938 kB / 0.7604 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.881, allocations: 425 kB / 0.7608 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.8812, allocations: 124.7 kB / 0.7609 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.8812, allocations: 11.98 kB / 0.7609 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.8814, allocations: 4 kB / 0.7609 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.8815, allocations: 23.98 kB / 0.7609 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.8815, allocations: 4 kB / 0.7609 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002337/0.8817, allocations: 227 kB / 0.7612 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8817, allocations: 0 / 0.7612 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004438/0.8822, allocations: 83.91 kB / 0.7612 GB, free: 7.344 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 (15): * Single equations (assignments): 15 * 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.0004389/0.8826, allocations: 172.2 kB / 0.7614 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.8831, allocations: 175.8 kB / 0.7616 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8831, allocations: 0 / 0.7616 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.8833, allocations: 92.45 kB / 0.7617 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.8843, allocations: 162.5 kB / 0.7618 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.8854, allocations: 0.6117 MB / 0.7624 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.8859, allocations: 0.7717 MB / 0.7632 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000351/0.8863, allocations: 66.48 kB / 0.7632 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.8864, allocations: 27.44 kB / 0.7633 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of SimCode: time 3.026e-06/0.8864, allocations: 0 / 0.7633 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.01365/0.9, allocations: 5.729 MB / 0.7689 GB, free: 15.62 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)