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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009565/0.0009558, allocations: 170.2 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4567/0.4567, allocations: 86.26 MB / 103.8 MB, free: 14.56 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.415/1.415, allocations: 223.3 MB / 348.4 MB, free: 5.02 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.0009979/0.000998, allocations: 94.77 kB / 420.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 20 kB / 0.4901 GB, free: 8.035 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 71.01 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.574, allocations: 1.858 GB / 2.418 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/4.574, allocations: 89.27 kB / 2.418 GB, free: 204.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6754/5.25, allocations: 246.4 MB / 2.658 GB, free: 167 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.002e-06/5.25, allocations: 0 / 2.658 GB, free: 167 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.22e-05/5.25, allocations: 11.88 kB / 2.658 GB, free: 167 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.0009512/5.251, allocations: 0.6815 MB / 2.659 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/5.251, allocations: 11.5 kB / 2.659 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/5.252, allocations: 147.9 kB / 2.659 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/5.252, allocations: 322.8 kB / 2.66 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/5.252, allocations: 15.53 kB / 2.66 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/5.252, allocations: 28.47 kB / 2.66 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/5.253, allocations: 275.9 kB / 2.66 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/5.253, allocations: 0 / 2.66 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/5.253, allocations: 10.91 kB / 2.66 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/5.253, allocations: 7.688 kB / 2.66 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/5.253, allocations: 197.7 kB / 2.66 GB, free: 166.2 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.001032/5.254, allocations: 1.213 MB / 2.661 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/5.254, allocations: 123.8 kB / 2.661 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/5.254, allocations: 95.5 kB / 2.662 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/5.255, allocations: 290.8 kB / 2.662 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/5.255, allocations: 45.12 kB / 2.662 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/5.255, allocations: 3.938 kB / 2.662 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006204/5.255, allocations: 277.3 kB / 2.662 GB, free: 165 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/5.256, allocations: 54.59 kB / 2.662 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/5.256, allocations: 311.6 kB / 2.662 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/5.256, allocations: 33.48 kB / 2.662 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/5.256, allocations: 182.5 kB / 2.663 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/5.256, allocations: 54.5 kB / 2.663 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/5.256, allocations: 6.625 kB / 2.663 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/5.256, allocations: 339.3 kB / 2.663 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/5.256, allocations: 64.86 kB / 2.663 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/5.256, allocations: 131.5 kB / 2.663 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/5.257, allocations: 187.3 kB / 2.663 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.257, allocations: 3.594 kB / 2.663 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000369/5.257, allocations: 241 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/5.257, allocations: 7.594 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/5.257, allocations: 0 / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/5.257, allocations: 3.75 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/5.257, allocations: 41.75 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/5.257, allocations: 7 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/5.257, allocations: 38.7 kB / 2.664 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/5.257, allocations: 12.22 kB / 2.664 GB, free: 164.2 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.000108/5.258, allocations: 155.1 kB / 2.664 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/5.258, allocations: 36.5 kB / 2.664 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/5.258, allocations: 215.6 kB / 2.664 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/5.258, allocations: 2.875 kB / 2.664 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/5.258, allocations: 3.375 kB / 2.664 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/5.258, allocations: 0 / 2.664 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/5.259, allocations: 0.6712 MB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/5.259, allocations: 0 / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/5.259, allocations: 43.56 kB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/5.259, allocations: 7.016 kB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/5.259, allocations: 6.469 kB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/5.259, allocations: 6.625 kB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.259, allocations: 6.703 kB / 2.665 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/5.26, allocations: 417.7 kB / 2.665 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/5.26, allocations: 123.5 kB / 2.665 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/5.26, allocations: 10.44 kB / 2.665 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/5.26, allocations: 15.44 kB / 2.665 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/5.26, allocations: 23.84 kB / 2.665 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/5.26, allocations: 7.844 kB / 2.665 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001579/5.26, allocations: 222.2 kB / 2.666 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/5.26, allocations: 0 / 2.666 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005475/5.261, allocations: 174 kB / 2.666 GB, free: 163.3 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.001037/5.262, allocations: 1.031 MB / 2.667 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003485/5.262, allocations: 168.9 kB / 2.667 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/5.262, allocations: 2.875 kB / 2.667 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/5.262, allocations: 82.19 kB / 2.667 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/5.263, allocations: 165.2 kB / 2.667 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/5.264, allocations: 0.7032 MB / 2.668 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/5.264, allocations: 0.7775 MB / 2.669 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001973/5.264, allocations: 61.92 kB / 2.669 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/5.264, allocations: 28.06 kB / 2.669 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/5.264, allocations: 0 / 2.669 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.02168/5.286, allocations: 17.97 MB / 2.686 GB, free: 159.5 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)