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.001053/0.001053, allocations: 107.4 kB / 16.36 MB, free: 6.285 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.001129/0.001129, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7779/0.7779, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 59.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3638, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1704/0.5343, allocations: 167.4 MB / 0.7492 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.5372, allocations: 1.543 MB / 0.7507 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.5375, allocations: 11.94 kB / 0.7507 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.538, allocations: 146.9 kB / 0.7508 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.5397, allocations: 0.7077 MB / 0.7515 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3174/0.8571, allocations: 0.6037 MB / 0.7521 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.8585, allocations: 0.6989 MB / 0.7528 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.8589, allocations: 232 kB / 0.753 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.8596, allocations: 333.9 kB / 0.7533 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.8599, allocations: 221.5 kB / 0.7536 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.8599, allocations: 22.53 kB / 0.7536 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.8613, allocations: 0.8674 MB / 0.7544 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.8614, allocations: 103.9 kB / 0.7545 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.8615, allocations: 168.2 kB / 0.7547 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008767/0.8624, allocations: 0.7308 MB / 0.7554 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8624, allocations: 0.8125 kB / 0.7554 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8624, allocations: 0 / 0.7554 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8625, allocations: 0.8438 kB / 0.7554 GB, free: 2.254 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.001015/0.8635, allocations: 0.652 MB / 0.756 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8635, allocations: 12.52 kB / 0.756 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.8646, allocations: 149.7 kB / 0.7562 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.8651, allocations: 320.5 kB / 0.7565 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.8651, allocations: 19 kB / 0.7565 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.8652, allocations: 22.38 kB / 0.7565 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.8655, allocations: 276.6 kB / 0.7568 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8656, allocations: 0.9375 kB / 0.7568 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.8656, allocations: 11.39 kB / 0.7568 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8656, allocations: 5.688 kB / 0.7568 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.8659, allocations: 201.5 kB / 0.757 GB, free: 17.44 MB / 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.001324/0.8673, allocations: 1.205 MB / 0.7582 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.8675, allocations: 144.3 kB / 0.7583 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.8677, allocations: 88.59 kB / 0.7584 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.8683, allocations: 303.7 kB / 0.7587 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8683, allocations: 36.27 kB / 0.7587 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.8683, allocations: 0.9062 kB / 0.7587 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007379/0.8691, allocations: 281 kB / 0.759 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.8691, allocations: 55.8 kB / 0.7591 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.8695, allocations: 312.3 kB / 0.7594 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.8695, allocations: 32.17 kB / 0.7594 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.8697, allocations: 185 kB / 0.7596 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.8697, allocations: 49.33 kB / 0.7596 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.8698, allocations: 45.84 kB / 0.7597 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8699, allocations: 340 kB / 0.76 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.8701, allocations: 74.06 kB / 0.76 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.8703, allocations: 121.7 kB / 0.7602 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.8707, allocations: 191.6 kB / 0.7603 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8707, allocations: 4.031 kB / 0.7603 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004348/0.8711, allocations: 238.4 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8711, allocations: 6.391 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.8711, allocations: 2.594 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8712, allocations: 2.984 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.8714, allocations: 43.11 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8714, allocations: 2.312 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.8716, allocations: 34.31 kB / 0.7607 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.8716, allocations: 11.94 kB / 0.7607 GB, free: 15.38 MB / 0.5919 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.0001409/0.8718, allocations: 153.1 kB / 0.7608 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.8718, allocations: 30.41 kB / 0.7609 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.8723, allocations: 223 kB / 0.7611 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8723, allocations: 4.406 kB / 0.7611 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8723, allocations: 0.75 kB / 0.7611 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8723, allocations: 6.688 kB / 0.7611 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.8734, allocations: 0.6836 MB / 0.7617 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.8735, allocations: 2.875 kB / 0.7617 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.8736, allocations: 32.78 kB / 0.7618 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.8736, allocations: 2.969 kB / 0.7618 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.8737, allocations: 4.594 kB / 0.7618 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.8737, allocations: 3.891 kB / 0.7618 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.8737, allocations: 2.469 kB / 0.7618 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.8743, allocations: 434.2 kB / 0.7622 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.8745, allocations: 128.2 kB / 0.7623 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.8745, allocations: 7.453 kB / 0.7623 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.8747, allocations: 14.84 kB / 0.7623 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.8748, allocations: 13.58 kB / 0.7624 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.8748, allocations: 10.47 kB / 0.7624 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002167/0.875, allocations: 225.2 kB / 0.7626 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.875, allocations: 1.094 kB / 0.7626 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003967/0.8754, allocations: 84.84 kB / 0.7627 GB, free: 14.42 MB / 0.5919 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.0003745/0.8758, allocations: 167.1 kB / 0.7628 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.8762, allocations: 169.8 kB / 0.763 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8763, allocations: 4.5 kB / 0.763 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.8765, allocations: 87.77 kB / 0.7631 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/0.8773, allocations: 172.4 kB / 0.7632 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.8784, allocations: 0.5922 MB / 0.7638 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.8789, allocations: 0.7839 MB / 0.7646 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.8791, allocations: 74.14 kB / 0.7647 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.8792, allocations: 24.88 kB / 0.7647 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.8792, allocations: 0.5 kB / 0.7647 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.01068/0.8899, allocations: 5.725 MB / 0.7703 GB, free: 13.15 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)