Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.473/0.473, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.423/1.423, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.0008721/0.0008721, allocations: 103.1 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 16 kB / 0.4983 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 72.3 MB / 0.5689 GB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.61/5.764, allocations: 1.926 GB / 2.495 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004738/5.764, allocations: 98.64 kB / 2.495 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.709/8.473, allocations: 0.6669 GB / 3.162 GB, free: 87.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/8.473, allocations: 0 / 3.162 GB, free: 87.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001361/8.473, allocations: 32.94 kB / 3.162 GB, free: 87.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004475/8.478, allocations: 1.464 MB / 3.163 GB, free: 87.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/8.478, allocations: 13.19 kB / 3.163 GB, free: 87.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/8.48, allocations: 252.7 kB / 3.164 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/8.483, allocations: 1.131 MB / 3.165 GB, free: 87.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/8.483, allocations: 68.09 kB / 3.165 GB, free: 87.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/8.484, allocations: 100.8 kB / 3.165 GB, free: 87.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/8.486, allocations: 1.116 MB / 3.166 GB, free: 86.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/8.486, allocations: 3.375 kB / 3.166 GB, free: 86.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/8.486, allocations: 41.75 kB / 3.166 GB, free: 86.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/8.486, allocations: 37.05 kB / 3.166 GB, free: 86.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/8.488, allocations: 0.8459 MB / 3.167 GB, free: 86.93 MB / 0.6198 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.005955/8.494, allocations: 5.699 MB / 3.173 GB, free: 83.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/8.495, allocations: 0.5435 MB / 3.173 GB, free: 83.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000489/8.495, allocations: 307.2 kB / 3.173 GB, free: 82.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/8.495, allocations: 40.5 kB / 3.173 GB, free: 82.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.524e-06/8.495, allocations: 0 / 3.173 GB, free: 82.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001491/8.497, allocations: 0.7836 MB / 3.174 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/8.497, allocations: 65.08 kB / 3.174 GB, free: 82.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/8.498, allocations: 0.6488 MB / 3.175 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/8.498, allocations: 41.7 kB / 3.175 GB, free: 82.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/8.498, allocations: 0.5046 MB / 3.175 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/8.498, allocations: 175.5 kB / 3.176 GB, free: 82.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/8.498, allocations: 14.88 kB / 3.176 GB, free: 82.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/8.498, allocations: 336 kB / 3.176 GB, free: 82.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/8.499, allocations: 245.3 kB / 3.176 GB, free: 82.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/8.499, allocations: 0.5704 MB / 3.177 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/8.499, allocations: 347.5 kB / 3.177 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/8.499, allocations: 5 kB / 3.177 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001199/8.501, allocations: 0.837 MB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/8.501, allocations: 8.781 kB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/8.501, allocations: 7.75 kB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/8.501, allocations: 12.69 kB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/8.501, allocations: 159.5 kB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/8.501, allocations: 14.75 kB / 3.178 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/8.503, allocations: 153.4 kB / 3.178 GB, free: 81.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/8.503, allocations: 35.31 kB / 3.178 GB, free: 81.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004371/8.503, allocations: 338.2 kB / 3.179 GB, free: 81.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/8.503, allocations: 82.38 kB / 3.179 GB, free: 81.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/8.504, allocations: 0.6097 MB / 3.179 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/8.504, allocations: 7.312 kB / 3.179 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/8.504, allocations: 6.594 kB / 3.179 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006509/8.505, allocations: 0.5044 MB / 3.18 GB, free: 81.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/8.508, allocations: 1.659 MB / 3.181 GB, free: 80.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/8.508, allocations: 2.469 kB / 3.181 GB, free: 80.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/8.508, allocations: 110.5 kB / 3.181 GB, free: 80.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/8.508, allocations: 7.922 kB / 3.181 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/8.508, allocations: 15.12 kB / 3.181 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/8.508, allocations: 6.734 kB / 3.181 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/8.508, allocations: 5.969 kB / 3.182 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/8.51, allocations: 1.08 MB / 3.183 GB, free: 80.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/8.511, allocations: 229.2 kB / 3.183 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/8.511, allocations: 15.44 kB / 3.183 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/8.511, allocations: 65.52 kB / 3.183 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/8.511, allocations: 33.03 kB / 3.183 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/8.512, allocations: 20.14 kB / 3.183 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008448/8.512, allocations: 0.5056 MB / 3.183 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/8.512, allocations: 0 / 3.183 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001818/8.514, allocations: 483.8 kB / 3.184 GB, free: 80.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.003074/8.517, allocations: 1.903 MB / 3.186 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001049/8.518, allocations: 0.5919 MB / 3.186 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/8.518, allocations: 1.406 kB / 3.186 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/8.519, allocations: 267.7 kB / 3.187 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/8.521, allocations: 438.1 kB / 3.187 GB, free: 79.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/8.524, allocations: 2.35 MB / 3.189 GB, free: 78.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/8.525, allocations: 1.14 MB / 3.19 GB, free: 77.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009346/8.526, allocations: 273.3 kB / 3.191 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/8.526, allocations: 73.5 kB / 3.191 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/8.526, allocations: 0 / 3.191 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.04733/8.573, allocations: 36.61 MB / 3.226 GB, free: 76.99 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)