Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5184/0.5184, allocations: 94.69 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001253/0.001253, allocations: 168.2 kB / 130.7 MB, free: 7.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.508/1.508, allocations: 170.5 MB / 324.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001653/0.001653, allocations: 115.4 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.389e-05, allocations: 7.938 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5605, allocations: 61.51 MB / 0.5054 GB, free: 49.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.975, allocations: 447.8 MB / 0.9427 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.975, allocations: 84.22 kB / 0.9428 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8478/2.823, allocations: 213.7 MB / 1.151 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/2.823, allocations: 0 / 1.151 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.282e-05/2.823, allocations: 22.25 kB / 1.151 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002153/2.825, allocations: 1.119 MB / 1.153 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/2.826, allocations: 9.812 kB / 1.153 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/2.826, allocations: 117 kB / 1.153 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/2.828, allocations: 0.7883 MB / 1.153 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/2.828, allocations: 58.08 kB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/2.828, allocations: 77.97 kB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/2.829, allocations: 0.8188 MB / 1.154 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/2.829, allocations: 6.125 kB / 1.154 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/2.83, allocations: 33.44 kB / 1.154 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/2.83, allocations: 14.69 kB / 1.154 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/2.83, allocations: 0.5864 MB / 1.155 GB, free: 112.4 MB / 0.5261 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.004195/2.835, allocations: 3.758 MB / 1.159 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/2.835, allocations: 410.5 kB / 1.159 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/2.836, allocations: 207.7 kB / 1.159 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/2.837, allocations: 1.314 MB / 1.161 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/2.838, allocations: 42.22 kB / 1.161 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/2.838, allocations: 3.719 kB / 1.161 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.002711/2.84, allocations: 1.282 MB / 1.162 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/2.84, allocations: 138.9 kB / 1.162 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/2.841, allocations: 0.6144 MB / 1.163 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/2.841, allocations: 37.67 kB / 1.163 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/2.841, allocations: 436.8 kB / 1.163 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.842, allocations: 156.3 kB / 1.163 GB, free: 108 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/2.842, allocations: 15.81 kB / 1.163 GB, free: 108 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000147/2.842, allocations: 385.4 kB / 1.164 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/2.842, allocations: 208.5 kB / 1.164 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/2.843, allocations: 475.3 kB / 1.164 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/2.843, allocations: 410 kB / 1.165 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/2.843, allocations: 2.688 kB / 1.165 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001191/2.844, allocations: 0.8856 MB / 1.165 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/2.844, allocations: 128.7 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/2.845, allocations: 12.47 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/2.845, allocations: 10.78 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/2.845, allocations: 153.5 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/2.845, allocations: 21.38 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/2.846, allocations: 85.5 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/2.846, allocations: 42.78 kB / 1.166 GB, free: 107 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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): 82 * Array equations: 0 * Algorithm blocks: 4 * 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.0001551/2.846, allocations: 149.6 kB / 1.166 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/2.846, allocations: 77.47 kB / 1.166 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/2.847, allocations: 449.4 kB / 1.167 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/2.847, allocations: 3.938 kB / 1.167 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/2.847, allocations: 8.125 kB / 1.167 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/2.847, allocations: 3.844 kB / 1.167 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/2.849, allocations: 1.142 MB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.849, allocations: 0 / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/2.849, allocations: 88.97 kB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/2.849, allocations: 5.141 kB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/2.849, allocations: 14.52 kB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/2.849, allocations: 6.719 kB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.849, allocations: 6.578 kB / 1.168 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/2.85, allocations: 0.7924 MB / 1.169 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/2.85, allocations: 149.3 kB / 1.169 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/2.851, allocations: 10.59 kB / 1.169 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/2.851, allocations: 42.03 kB / 1.169 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/2.851, allocations: 29.48 kB / 1.169 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/2.851, allocations: 15.33 kB / 1.169 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005466/2.852, allocations: 471 kB / 1.169 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/2.852, allocations: 0 / 1.169 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001055/2.853, allocations: 265.2 kB / 1.17 GB, free: 105.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],senTraSub.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0008254/2.853, allocations: 310.8 kB / 1.17 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001109/2.855, allocations: 0.7233 MB / 1.171 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/2.855, allocations: 0 / 1.171 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/2.855, allocations: 190 kB / 1.171 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/2.857, allocations: 376.7 kB / 1.171 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/2.859, allocations: 1.147 MB / 1.172 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/2.86, allocations: 1.013 MB / 1.173 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006997/2.86, allocations: 180.5 kB / 1.173 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/2.861, allocations: 66.47 kB / 1.173 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/2.861, allocations: 0 / 1.173 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.02762/2.888, allocations: 14.15 MB / 1.187 GB, free: 102.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)