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.001124/0.001124, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4546/0.4546, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.278/1.278, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 100.6 kB / 421.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.521e-05, allocations: 7.984 kB / 0.4896 GB, free: 5.336 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3839, allocations: 72.3 MB / 0.5602 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.3, allocations: 1.926 GB / 2.486 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.3, allocations: 87.2 kB / 2.486 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.161/6.461, allocations: 0.6663 GB / 3.153 GB, free: 75.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/6.462, allocations: 0 / 3.153 GB, free: 75.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001322/6.462, allocations: 32 kB / 3.153 GB, free: 75.64 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003408/6.465, allocations: 1.332 MB / 3.154 GB, free: 74.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/6.465, allocations: 8.031 kB / 3.154 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/6.467, allocations: 246.3 kB / 3.154 GB, free: 74.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/6.47, allocations: 1.115 MB / 3.155 GB, free: 72.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/6.47, allocations: 73.89 kB / 3.155 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/6.471, allocations: 96 kB / 3.156 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/6.473, allocations: 1.107 MB / 3.157 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/6.473, allocations: 4 kB / 3.157 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/6.473, allocations: 36 kB / 3.157 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/6.473, allocations: 34 kB / 3.157 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/6.474, allocations: 0.8314 MB / 3.158 GB, free: 70.61 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005466/6.48, allocations: 5.697 MB / 3.163 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/6.48, allocations: 0.5439 MB / 3.164 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/6.481, allocations: 302.6 kB / 3.164 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/6.481, allocations: 307.8 kB / 3.164 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/6.481, allocations: 39 kB / 3.164 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.855e-06/6.481, allocations: 0 / 3.164 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001121/6.483, allocations: 0.5849 MB / 3.165 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/6.483, allocations: 59.84 kB / 3.165 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/6.483, allocations: 0.6371 MB / 3.165 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/6.483, allocations: 37.7 kB / 3.166 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/6.484, allocations: 0.5027 MB / 3.166 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/6.484, allocations: 177.5 kB / 3.166 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/6.484, allocations: 19.94 kB / 3.166 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/6.484, allocations: 341.9 kB / 3.167 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/6.484, allocations: 232.7 kB / 3.167 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/6.485, allocations: 0.5663 MB / 3.167 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/6.485, allocations: 347.6 kB / 3.168 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/6.485, allocations: 4 kB / 3.168 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001071/6.486, allocations: 0.8227 MB / 3.168 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/6.486, allocations: 12 kB / 3.168 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/6.486, allocations: 8 kB / 3.168 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/6.486, allocations: 12 kB / 3.168 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/6.487, allocations: 156.4 kB / 3.169 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/6.487, allocations: 15.94 kB / 3.169 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/6.488, allocations: 151 kB / 3.169 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/6.488, allocations: 39.98 kB / 3.169 GB, free: 58.33 MB / 0.6042 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 () * 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.0001193/6.488, allocations: 152.7 kB / 3.169 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/6.488, allocations: 86.92 kB / 3.169 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/6.489, allocations: 0.606 MB / 3.17 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/6.489, allocations: 4 kB / 3.17 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/6.489, allocations: 4 kB / 3.17 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005349/6.489, allocations: 0.5016 MB / 3.17 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/6.492, allocations: 1.648 MB / 3.172 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/6.492, allocations: 7.984 kB / 3.172 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/6.492, allocations: 108.1 kB / 3.172 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/6.492, allocations: 4 kB / 3.172 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/6.492, allocations: 15.98 kB / 3.172 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/6.492, allocations: 4 kB / 3.172 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.492, allocations: 3.391 kB / 3.172 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/6.493, allocations: 1.081 MB / 3.173 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/6.494, allocations: 223.8 kB / 3.173 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/6.494, allocations: 16 kB / 3.173 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/6.494, allocations: 59.88 kB / 3.173 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/6.495, allocations: 39.84 kB / 3.173 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/6.495, allocations: 20 kB / 3.173 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005129/6.495, allocations: 0.503 MB / 3.174 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/6.495, allocations: 0 / 3.174 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001331/6.496, allocations: 487.2 kB / 3.174 GB, free: 52.58 MB / 0.6042 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 () * 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.002192/6.499, allocations: 1.895 MB / 3.176 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007834/6.499, allocations: 0.5888 MB / 3.177 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/6.499, allocations: 0 / 3.177 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/6.5, allocations: 271.4 kB / 3.177 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/6.501, allocations: 424.6 kB / 3.177 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/6.504, allocations: 1.53 MB / 3.179 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/6.504, allocations: 1.144 MB / 3.18 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008113/6.505, allocations: 266.8 kB / 3.18 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/6.505, allocations: 67.42 kB / 3.18 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/6.505, allocations: 0 / 3.18 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.0457/6.551, allocations: 41.43 MB / 3.221 GB, free: 5.113 MB / 0.6042 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)