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.6203/0.6203, allocations: 95.61 MB / 110.6 MB, free: 9.391 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.001183/0.001183, allocations: 172.1 kB / 134.2 MB, free: 2.262 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.653/1.653, allocations: 170.7 MB / 328.4 MB, free: 12.26 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.001744/0.001744, allocations: 119 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.675, allocations: 447.9 MB / 0.9494 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/1.676, allocations: 101.2 kB / 0.9495 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7621/2.438, allocations: 214.5 MB / 1.159 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/2.438, allocations: 0 / 1.159 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.767e-05/2.438, allocations: 26.48 kB / 1.159 GB, free: 117.6 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.002562/2.441, allocations: 1.219 MB / 1.16 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/2.441, allocations: 12.7 kB / 1.16 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/2.441, allocations: 114.6 kB / 1.16 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/2.443, allocations: 0.7947 MB / 1.161 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/2.443, allocations: 57.89 kB / 1.161 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/2.443, allocations: 78.41 kB / 1.161 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/2.444, allocations: 0.8357 MB / 1.162 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/2.445, allocations: 0 / 1.162 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/2.445, allocations: 30.53 kB / 1.162 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/2.445, allocations: 20.94 kB / 1.162 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/2.446, allocations: 0.602 MB / 1.163 GB, free: 116.4 MB / 0.5261 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.004499/2.45, allocations: 3.768 MB / 1.166 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/2.451, allocations: 435.8 kB / 1.167 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/2.453, allocations: 1.309 MB / 1.168 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/2.453, allocations: 40.97 kB / 1.168 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 3.326e-06/2.453, allocations: 0 / 1.168 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.002915/2.456, allocations: 1.425 MB / 1.169 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/2.456, allocations: 138.6 kB / 1.17 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/2.457, allocations: 0.6167 MB / 1.17 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/2.457, allocations: 35.55 kB / 1.17 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/2.457, allocations: 433.2 kB / 1.171 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/2.457, allocations: 156.2 kB / 1.171 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/2.457, allocations: 15.97 kB / 1.171 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001594/2.458, allocations: 383.5 kB / 1.171 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/2.458, allocations: 221.6 kB / 1.171 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/2.458, allocations: 487 kB / 1.172 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/2.459, allocations: 406.8 kB / 1.172 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/2.459, allocations: 4.812 kB / 1.172 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001286/2.46, allocations: 0.9036 MB / 1.173 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/2.46, allocations: 133.2 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/2.46, allocations: 7.281 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/2.46, allocations: 10.97 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/2.461, allocations: 165 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/2.461, allocations: 15.94 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/2.462, allocations: 77.02 kB / 1.173 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/2.462, allocations: 41.67 kB / 1.174 GB, free: 111.1 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 () * Number of clocked 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.0004193/2.462, allocations: 271.6 kB / 1.174 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/2.462, allocations: 79.72 kB / 1.174 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/2.463, allocations: 452.5 kB / 1.174 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/2.463, allocations: 7.188 kB / 1.174 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/2.463, allocations: 2.969 kB / 1.174 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/2.463, allocations: 0 / 1.174 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/2.465, allocations: 1.148 MB / 1.175 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/2.465, allocations: 0 / 1.175 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/2.466, allocations: 97 kB / 1.176 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/2.466, allocations: 3.5 kB / 1.176 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/2.466, allocations: 10.61 kB / 1.176 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/2.466, allocations: 0 / 1.176 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.466, allocations: 7.766 kB / 1.176 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/2.467, allocations: 0.8046 MB / 1.176 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/2.467, allocations: 151.6 kB / 1.176 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/2.467, allocations: 10.81 kB / 1.176 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/2.467, allocations: 43.73 kB / 1.177 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/2.468, allocations: 21.97 kB / 1.177 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/2.468, allocations: 22.38 kB / 1.177 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006325/2.468, allocations: 479.3 kB / 1.177 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.468, allocations: 5.094 kB / 1.177 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001224/2.469, allocations: 261.4 kB / 1.177 GB, free: 110 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 () * Number of clocked 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.0008607/2.47, allocations: 312.1 kB / 1.178 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001061/2.471, allocations: 0.7351 MB / 1.178 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.471, allocations: 0 / 1.178 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/2.472, allocations: 200.1 kB / 1.178 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/2.473, allocations: 368.4 kB / 1.179 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/2.476, allocations: 1.82 MB / 1.181 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/2.477, allocations: 1.015 MB / 1.182 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006856/2.478, allocations: 184.7 kB / 1.182 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/2.478, allocations: 61.69 kB / 1.182 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of SimCode: time 7.324e-06/2.478, allocations: 0 / 1.182 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02519/2.503, allocations: 13.97 MB / 1.195 GB, free: 107.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)