Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001175/0.001175, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001075/0.001075, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.403/1.403, 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/package.mo): time 0.8129/0.8129, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3689, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1766/0.5456, allocations: 167.4 MB / 0.7449 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.5483, allocations: 1.553 MB / 0.7464 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.5487, allocations: 15.88 kB / 0.7465 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.5492, allocations: 150.9 kB / 0.7466 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.551, allocations: 0.6961 MB / 0.7473 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.5526, allocations: 0.5945 MB / 0.7479 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000808/0.5534, allocations: 0.7051 MB / 0.7486 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.5538, allocations: 236.9 kB / 0.7488 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.5543, allocations: 330.8 kB / 0.7491 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.5546, allocations: 223 kB / 0.7493 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.5547, allocations: 24 kB / 0.7493 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5561, allocations: 0.869 MB / 0.7502 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.5563, allocations: 99.66 kB / 0.7503 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.5564, allocations: 171.2 kB / 0.7504 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3307/0.8872, allocations: 0.7139 MB / 0.7511 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8872, allocations: 0 / 0.7511 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8872, allocations: 0.5 kB / 0.7511 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.8873, allocations: 0 / 0.7511 GB, free: 4.145 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.001073/0.8883, allocations: 0.6491 MB / 0.7518 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8884, allocations: 10.09 kB / 0.7518 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.8897, allocations: 152.9 kB / 0.7519 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.8903, allocations: 327.7 kB / 0.7522 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.8903, allocations: 23.97 kB / 0.7523 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.8904, allocations: 24.19 kB / 0.7523 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.8909, allocations: 276 kB / 0.7525 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.891, allocations: 1.703 kB / 0.7525 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.891, allocations: 10.31 kB / 0.7526 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.891, allocations: 6.062 kB / 0.7526 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.8914, allocations: 197.4 kB / 0.7527 GB, free: 3.402 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.001593/0.893, allocations: 1.211 MB / 0.7539 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.8933, allocations: 143.7 kB / 0.7541 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.8935, allocations: 86.92 kB / 0.7542 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.894, allocations: 302.6 kB / 0.7544 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.894, allocations: 37.53 kB / 0.7545 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.906e-06/0.8941, allocations: 0 / 0.7545 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007164/0.8948, allocations: 275.3 kB / 0.7547 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.8948, allocations: 53.84 kB / 0.7548 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.8951, allocations: 313.7 kB / 0.7551 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.8952, allocations: 29.11 kB / 0.7551 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8953, allocations: 187.9 kB / 0.7553 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.8953, allocations: 58.86 kB / 0.7554 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.8954, allocations: 43.52 kB / 0.7554 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8956, allocations: 338.5 kB / 0.7557 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8957, allocations: 68.77 kB / 0.7558 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.8959, allocations: 123.2 kB / 0.7559 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.8963, allocations: 187.7 kB / 0.7561 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8963, allocations: 1.875 kB / 0.7561 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004314/0.8967, allocations: 244.5 kB / 0.7563 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8967, allocations: 6.938 kB / 0.7563 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8967, allocations: 2.625 kB / 0.7563 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8968, allocations: 3.5 kB / 0.7563 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.897, allocations: 44.16 kB / 0.7564 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.897, allocations: 5.5 kB / 0.7564 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.8972, allocations: 28.77 kB / 0.7564 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.8972, allocations: 9.062 kB / 0.7564 GB, free: 17.34 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.0001507/0.8974, allocations: 149.1 kB / 0.7566 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.8974, allocations: 30.14 kB / 0.7566 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/0.8979, allocations: 226.4 kB / 0.7568 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8979, allocations: 3.5 kB / 0.7568 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8979, allocations: 0 / 0.7568 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8979, allocations: 6.141 kB / 0.7568 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.8989, allocations: 0.6868 MB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.899, allocations: 2.656 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.8991, allocations: 33.67 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.8991, allocations: 3.5 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8992, allocations: 8.875 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8992, allocations: 2.688 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8992, allocations: 1.906 kB / 0.7575 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.8998, allocations: 442.3 kB / 0.7579 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.9, allocations: 116.5 kB / 0.7581 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.9, allocations: 6.984 kB / 0.7581 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.9002, allocations: 9.594 kB / 0.7581 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.9003, allocations: 14.61 kB / 0.7581 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.9003, allocations: 8.938 kB / 0.7581 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002504/0.9005, allocations: 223.5 kB / 0.7583 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9005, allocations: 4 kB / 0.7583 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004488/0.901, allocations: 88.55 kB / 0.7584 GB, free: 16.4 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.0004067/0.9014, allocations: 166.7 kB / 0.7586 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.9019, allocations: 173.1 kB / 0.7587 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9019, allocations: 0.7188 kB / 0.7587 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.9021, allocations: 89.56 kB / 0.7588 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.9029, allocations: 162.8 kB / 0.759 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.9041, allocations: 0.6007 MB / 0.7596 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.9045, allocations: 0.7762 MB / 0.7603 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.9047, allocations: 71.61 kB / 0.7604 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.9048, allocations: 25.16 kB / 0.7604 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.9048, allocations: 0.9375 kB / 0.7604 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Templates: time 0.01221/0.917, allocations: 5.722 MB / 0.766 GB, free: 15.13 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)