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.001306/0.001306, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5101/0.5101, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009168, allocations: 87.34 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.971e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.149, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/4.708, allocations: 1.925 GB / 2.479 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/4.708, allocations: 88.7 kB / 2.479 GB, free: 6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.335/7.043, allocations: 0.6588 GB / 3.138 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/7.043, allocations: 0 / 3.138 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001223/7.043, allocations: 27.98 kB / 3.138 GB, free: 49.24 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.003659/7.047, allocations: 1.335 MB / 3.139 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/7.047, allocations: 11.97 kB / 3.139 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/7.048, allocations: 250.3 kB / 3.139 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/7.052, allocations: 1.109 MB / 3.141 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/7.052, allocations: 35.17 kB / 3.141 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/7.052, allocations: 60 kB / 3.141 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/7.054, allocations: 0.7536 MB / 3.141 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/7.055, allocations: 0.9783 MB / 3.142 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/7.055, allocations: 3.984 kB / 3.142 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/7.055, allocations: 11.94 kB / 3.142 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/7.055, allocations: 30 kB / 3.142 GB, free: 44.52 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.005528/7.061, allocations: 5.5 MB / 3.148 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/7.062, allocations: 0.5235 MB / 3.148 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/7.062, allocations: 286.6 kB / 3.149 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/7.063, allocations: 303.7 kB / 3.149 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/7.063, allocations: 42.98 kB / 3.149 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/7.063, allocations: 0 / 3.149 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.00132/7.064, allocations: 0.5771 MB / 3.149 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/7.064, allocations: 59.83 kB / 3.149 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/7.065, allocations: 0.5192 MB / 3.15 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/7.065, allocations: 25.7 kB / 3.15 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/7.065, allocations: 0.5063 MB / 3.15 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/7.065, allocations: 169.5 kB / 3.151 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/7.065, allocations: 0 / 3.151 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001179/7.065, allocations: 386.8 kB / 3.151 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/7.066, allocations: 217.5 kB / 3.151 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/7.066, allocations: 0.5511 MB / 3.152 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/7.067, allocations: 361 kB / 3.152 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/7.067, allocations: 4 kB / 3.152 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00113/7.068, allocations: 0.7651 MB / 3.153 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/7.068, allocations: 11.98 kB / 3.153 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/7.068, allocations: 8 kB / 3.153 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/7.068, allocations: 20.06 kB / 3.153 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/7.068, allocations: 155.8 kB / 3.153 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/7.068, allocations: 15.94 kB / 3.153 GB, free: 32.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/7.069, allocations: 123.2 kB / 3.153 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/7.069, allocations: 36 kB / 3.153 GB, free: 32.68 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.0001343/7.07, allocations: 128.7 kB / 3.153 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/7.07, allocations: 79.02 kB / 3.153 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/7.071, allocations: 0.5849 MB / 3.154 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/7.071, allocations: 8 kB / 3.154 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/7.071, allocations: 0 / 3.154 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005885/7.071, allocations: 0.5094 MB / 3.154 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/7.074, allocations: 1.54 MB / 3.156 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/7.074, allocations: 4 kB / 3.156 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/7.074, allocations: 103.9 kB / 3.156 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/7.074, allocations: 7.984 kB / 3.156 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/7.074, allocations: 8 kB / 3.156 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/7.074, allocations: 4 kB / 3.156 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/7.074, allocations: 8.219 kB / 3.156 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/7.075, allocations: 1.056 MB / 3.157 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/7.076, allocations: 216.1 kB / 3.157 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/7.076, allocations: 8 kB / 3.157 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/7.076, allocations: 59.78 kB / 3.157 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/7.077, allocations: 39.84 kB / 3.157 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/7.077, allocations: 16 kB / 3.157 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004162/7.077, allocations: 395.1 kB / 3.158 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/7.077, allocations: 4 kB / 3.158 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001474/7.078, allocations: 423.2 kB / 3.158 GB, free: 27.31 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.003037/7.082, allocations: 2.115 MB / 3.16 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008778/7.082, allocations: 0.5491 MB / 3.161 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/7.082, allocations: 0 / 3.161 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/7.083, allocations: 260.2 kB / 3.161 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/7.085, allocations: 358.8 kB / 3.161 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/7.087, allocations: 1.496 MB / 3.163 GB, free: 22.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/7.088, allocations: 1.145 MB / 3.164 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009022/7.089, allocations: 254.5 kB / 3.164 GB, free: 21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/7.089, allocations: 71.42 kB / 3.164 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/7.089, allocations: 0 / 3.164 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.03414/7.123, allocations: 23.11 MB / 3.187 GB, free: 13.98 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)