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 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.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.0009207/0.0009207, allocations: 173.2 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4515/0.4515, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.457/1.457, allocations: 223.2 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.001008/0.001008, allocations: 91.91 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004345, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3897, allocations: 71.02 MB / 0.5595 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.629/5.019, allocations: 1.924 GB / 2.484 GB, free: 216.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/5.019, allocations: 93.58 kB / 2.484 GB, free: 216.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.938/6.957, allocations: 0.6634 GB / 3.147 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/6.957, allocations: 0 / 3.147 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.559e-05/6.957, allocations: 28 kB / 3.147 GB, free: 5.035 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.004358/6.962, allocations: 1.454 MB / 3.149 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/6.962, allocations: 12.03 kB / 3.149 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/6.964, allocations: 243.3 kB / 3.149 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/6.967, allocations: 0.9809 MB / 3.15 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/6.967, allocations: 70.38 kB / 3.15 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/6.967, allocations: 100.4 kB / 3.15 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/6.97, allocations: 1.131 MB / 3.151 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/6.97, allocations: 7.938 kB / 3.151 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/6.97, allocations: 39.98 kB / 3.151 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/6.97, allocations: 37.94 kB / 3.151 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3717/7.342, allocations: 0.8421 MB / 3.152 GB, free: 89.85 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.006419/7.348, allocations: 5.711 MB / 3.158 GB, free: 86.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/7.349, allocations: 0.5652 MB / 3.158 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/7.35, allocations: 323.9 kB / 3.158 GB, free: 86.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/7.351, allocations: 312.8 kB / 3.159 GB, free: 85.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/7.351, allocations: 42.56 kB / 3.159 GB, free: 85.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 5.29e-06/7.351, allocations: 0 / 3.159 GB, free: 85.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002446/7.353, allocations: 0.7996 MB / 3.16 GB, free: 85.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/7.353, allocations: 84.09 kB / 3.16 GB, free: 85.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/7.355, allocations: 0.7407 MB / 3.16 GB, free: 85.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/7.355, allocations: 38.73 kB / 3.16 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/7.355, allocations: 0.5081 MB / 3.161 GB, free: 85.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/7.355, allocations: 178.5 kB / 3.161 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/7.355, allocations: 16.66 kB / 3.161 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/7.355, allocations: 336.2 kB / 3.161 GB, free: 84.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/7.356, allocations: 250.5 kB / 3.162 GB, free: 84.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/7.357, allocations: 0.5906 MB / 3.162 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/7.357, allocations: 0.7941 MB / 3.163 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/7.357, allocations: 0 / 3.163 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001129/7.359, allocations: 0.8531 MB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/7.359, allocations: 7.406 kB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/7.359, allocations: 7.5 kB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/7.359, allocations: 11.44 kB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/7.359, allocations: 161 kB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/7.359, allocations: 18.56 kB / 3.164 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/7.36, allocations: 145.7 kB / 3.164 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/7.36, allocations: 39.08 kB / 3.164 GB, free: 84.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0004791/7.361, allocations: 336.9 kB / 3.165 GB, free: 84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/7.361, allocations: 83.88 kB / 3.165 GB, free: 83.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/7.362, allocations: 0.6247 MB / 3.165 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/7.362, allocations: 7.5 kB / 3.165 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/7.362, allocations: 0 / 3.165 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000588/7.362, allocations: 0.5159 MB / 3.166 GB, free: 83.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/7.365, allocations: 1.759 MB / 3.167 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/7.365, allocations: 9.922 kB / 3.167 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/7.365, allocations: 118.5 kB / 3.168 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/7.365, allocations: 7.312 kB / 3.168 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/7.365, allocations: 13.91 kB / 3.168 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/7.365, allocations: 3.656 kB / 3.168 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/7.365, allocations: 3.969 kB / 3.168 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/7.366, allocations: 1.061 MB / 3.169 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/7.367, allocations: 243.4 kB / 3.169 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/7.367, allocations: 19 kB / 3.169 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/7.367, allocations: 62.12 kB / 3.169 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/7.367, allocations: 32.98 kB / 3.169 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/7.367, allocations: 14.84 kB / 3.169 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005353/7.368, allocations: 0.5088 MB / 3.17 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/7.368, allocations: 0 / 3.17 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001379/7.369, allocations: 499.4 kB / 3.17 GB, free: 82.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (51): * Single equations (assignments): 51 * 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.002309/7.372, allocations: 1.889 MB / 3.172 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008792/7.373, allocations: 0.6142 MB / 3.172 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/7.373, allocations: 3.281 kB / 3.172 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/7.373, allocations: 274.8 kB / 3.173 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/7.375, allocations: 434.2 kB / 3.173 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/7.378, allocations: 2.385 MB / 3.175 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/7.378, allocations: 1.121 MB / 3.177 GB, free: 80.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009152/7.379, allocations: 287.9 kB / 3.177 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/7.379, allocations: 80.53 kB / 3.177 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/7.379, allocations: 0 / 3.177 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.04855/7.428, allocations: 37.38 MB / 3.213 GB, free: 79.62 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)