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.001119/0.001119, allocations: 112.6 kB / 16.37 MB, free: 6 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.001073/0.001073, allocations: 196 kB / 17.31 MB, free: 5.613 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7728/0.7728, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.182/0.5539, allocations: 167.4 MB / 0.7492 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.557, allocations: 1.551 MB / 0.7507 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.5574, allocations: 11.94 kB / 0.7507 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.5579, allocations: 146.9 kB / 0.7509 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.5597, allocations: 0.7078 MB / 0.7516 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4183/0.978, allocations: 0.5933 MB / 0.7521 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.9794, allocations: 0.7021 MB / 0.7528 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.98, allocations: 231.2 kB / 0.753 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.9811, allocations: 335.5 kB / 0.7534 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.9816, allocations: 218 kB / 0.7536 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.9817, allocations: 23.22 kB / 0.7536 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.9834, allocations: 0.8705 MB / 0.7544 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.9835, allocations: 102.3 kB / 0.7545 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.9837, allocations: 168.8 kB / 0.7547 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.9847, allocations: 0.7262 MB / 0.7554 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9847, allocations: 0 / 0.7554 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9847, allocations: 4.344 kB / 0.7554 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9847, allocations: 0 / 0.7554 GB, free: 2.215 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.0009662/0.9857, allocations: 0.647 MB / 0.756 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.9857, allocations: 10.55 kB / 0.7561 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.9868, allocations: 154.1 kB / 0.7562 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.9872, allocations: 319.8 kB / 0.7565 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.9873, allocations: 18.41 kB / 0.7565 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.9873, allocations: 24.81 kB / 0.7565 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.9877, allocations: 276.8 kB / 0.7568 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9877, allocations: 0 / 0.7568 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.9878, allocations: 7.875 kB / 0.7568 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.9878, allocations: 7.094 kB / 0.7568 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.9881, allocations: 201.3 kB / 0.757 GB, free: 17.41 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.00127/0.9894, allocations: 1.211 MB / 0.7582 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.9897, allocations: 139.4 kB / 0.7583 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.9898, allocations: 92.52 kB / 0.7584 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.9904, allocations: 300.5 kB / 0.7587 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9904, allocations: 38.67 kB / 0.7587 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.9904, allocations: 0.9062 kB / 0.7587 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007436/0.9912, allocations: 279.2 kB / 0.759 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.9912, allocations: 55.12 kB / 0.7591 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.9916, allocations: 314.7 kB / 0.7594 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.9916, allocations: 30.83 kB / 0.7594 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.9917, allocations: 185.5 kB / 0.7596 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.9918, allocations: 49.92 kB / 0.7596 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.9919, allocations: 49.59 kB / 0.7597 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.992, allocations: 338.2 kB / 0.76 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.9922, allocations: 69.02 kB / 0.7601 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.9924, allocations: 122.8 kB / 0.7602 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.9927, allocations: 189 kB / 0.7604 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9927, allocations: 0 / 0.7604 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004846/0.9932, allocations: 239 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9933, allocations: 6.656 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9933, allocations: 1.875 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9933, allocations: 4.062 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.9935, allocations: 38.33 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.9935, allocations: 6.625 kB / 0.7606 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.9937, allocations: 37.8 kB / 0.7607 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.9938, allocations: 12.92 kB / 0.7607 GB, free: 15.33 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.0001363/0.9939, allocations: 148.9 kB / 0.7608 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.994, allocations: 32 kB / 0.7609 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.9944, allocations: 214.1 kB / 0.7611 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9944, allocations: 2.234 kB / 0.7611 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9945, allocations: 5.578 kB / 0.7611 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.9945, allocations: 7.234 kB / 0.7611 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.9955, allocations: 0.6888 MB / 0.7617 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9955, allocations: 6.312 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.9957, allocations: 28.92 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9957, allocations: 8.281 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.9958, allocations: 8 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.9958, allocations: 7.516 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9958, allocations: 2.125 kB / 0.7618 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.9965, allocations: 431.5 kB / 0.7622 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9966, allocations: 126.8 kB / 0.7623 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.9967, allocations: 3.5 kB / 0.7623 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9969, allocations: 11.61 kB / 0.7624 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.9969, allocations: 12.75 kB / 0.7624 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.9969, allocations: 8.875 kB / 0.7624 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002996/0.9973, allocations: 227.1 kB / 0.7626 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9973, allocations: 4.438 kB / 0.7626 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004402/0.9977, allocations: 86.12 kB / 0.7627 GB, free: 14.38 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.0003988/0.9981, allocations: 162.3 kB / 0.7628 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.9986, allocations: 179.9 kB / 0.763 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9986, allocations: 1.844 kB / 0.763 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.9988, allocations: 85.62 kB / 0.7631 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.9997, allocations: 167.8 kB / 0.7632 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.001, allocations: 0.5908 MB / 0.7638 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.001, allocations: 0.7828 MB / 0.7646 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002263/1.001, allocations: 65.25 kB / 0.7646 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/1.002, allocations: 27.59 kB / 0.7647 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/1.002, allocations: 2.406 kB / 0.7647 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.01121/1.013, allocations: 5.735 MB / 0.7703 GB, free: 13.12 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)