Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5825/0.5825, allocations: 91.99 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009305, allocations: 100.2 kB / 427.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 72.31 MB / 0.5689 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.744/5.906, allocations: 1.86 GB / 2.428 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/5.907, allocations: 92.22 kB / 2.429 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.955/6.862, allocations: 247 MB / 2.67 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/6.862, allocations: 0 / 2.67 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.259e-05/6.862, allocations: 10.28 kB / 2.67 GB, free: 147.6 MB / 0.6042 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.002187/6.864, allocations: 0.686 MB / 2.67 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.981e-05/6.864, allocations: 8.062 kB / 2.67 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/6.866, allocations: 149.3 kB / 2.671 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/6.866, allocations: 317.5 kB / 2.671 GB, free: 147 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/6.866, allocations: 17.38 kB / 2.671 GB, free: 147 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/6.866, allocations: 23.59 kB / 2.671 GB, free: 147 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/6.867, allocations: 271.9 kB / 2.671 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/6.867, allocations: 3 kB / 2.671 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/6.867, allocations: 14.83 kB / 2.671 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/6.867, allocations: 10.06 kB / 2.671 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/6.867, allocations: 196.2 kB / 2.671 GB, free: 146.9 MB / 0.6042 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.001639/6.869, allocations: 1.209 MB / 2.673 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/6.869, allocations: 124 kB / 2.673 GB, free: 146 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/6.87, allocations: 305.3 kB / 2.673 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/6.87, allocations: 36.44 kB / 2.673 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.747e-06/6.87, allocations: 3.938 kB / 2.673 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0009245/6.871, allocations: 270.5 kB / 2.673 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/6.871, allocations: 58.39 kB / 2.673 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/6.871, allocations: 280.3 kB / 2.674 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/6.871, allocations: 29.61 kB / 2.674 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/6.872, allocations: 178.9 kB / 2.674 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/6.872, allocations: 54.88 kB / 2.674 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/6.872, allocations: 3.5 kB / 2.674 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001267/6.872, allocations: 346.7 kB / 2.674 GB, free: 145 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/6.872, allocations: 64.83 kB / 2.674 GB, free: 145 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/6.872, allocations: 134.7 kB / 2.674 GB, free: 145 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/6.872, allocations: 80.36 kB / 2.675 GB, free: 145 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/6.872, allocations: 7.031 kB / 2.675 GB, free: 145 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004291/6.873, allocations: 236.2 kB / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/6.873, allocations: 8.906 kB / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/6.873, allocations: 0 / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/6.873, allocations: 3.531 kB / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/6.873, allocations: 47.28 kB / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/6.873, allocations: 0 / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/6.873, allocations: 47.27 kB / 2.675 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/6.873, allocations: 10.16 kB / 2.675 GB, free: 144.9 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/6.874, allocations: 152.8 kB / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/6.874, allocations: 32.16 kB / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/6.874, allocations: 214.8 kB / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/6.874, allocations: 3.281 kB / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/6.874, allocations: 0 / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/6.874, allocations: 0 / 2.675 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/6.876, allocations: 0.6789 MB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/6.876, allocations: 1.25 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/6.876, allocations: 34.16 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/6.876, allocations: 6.625 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/6.876, allocations: 6.984 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/6.876, allocations: 7.297 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/6.876, allocations: 4.062 kB / 2.676 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009644/6.877, allocations: 0.4929 MB / 2.676 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/6.877, allocations: 118.3 kB / 2.677 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/6.877, allocations: 10.7 kB / 2.677 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/6.877, allocations: 18.5 kB / 2.677 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/6.877, allocations: 21.31 kB / 2.677 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/6.877, allocations: 5.094 kB / 2.677 GB, free: 144 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003195/6.878, allocations: 227.7 kB / 2.677 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/6.878, allocations: 3.938 kB / 2.677 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00122/6.879, allocations: 172.3 kB / 2.677 GB, free: 143.9 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002633/6.882, allocations: 1.038 MB / 2.678 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000631/6.882, allocations: 163.8 kB / 2.678 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/6.882, allocations: 0 / 2.678 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/6.883, allocations: 89.42 kB / 2.678 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/6.883, allocations: 160.7 kB / 2.678 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/6.885, allocations: 0.6965 MB / 2.679 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/6.885, allocations: 0.7834 MB / 2.68 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002386/6.885, allocations: 67.88 kB / 2.68 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/6.885, allocations: 23.94 kB / 2.68 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/6.885, allocations: 0 / 2.68 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.02783/6.913, allocations: 17.82 MB / 2.697 GB, free: 142.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)