Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009738, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.741/1.741, allocations: 252 MB / 0.5102 GB, free: 4.797 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.000523, allocations: 15.98 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6843, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2324/0.9167, allocations: 177.8 MB / 0.9017 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.693/1.61, allocations: 13.36 MB / 0.9148 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/1.611, allocations: 27.97 kB / 0.9148 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.613, allocations: 344.4 kB / 0.9151 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/1.618, allocations: 1.379 MB / 0.9165 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/1.621, allocations: 0.6833 MB / 0.9171 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006447/1.628, allocations: 3.09 MB / 0.9201 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/1.629, allocations: 0.8127 MB / 0.9209 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/1.634, allocations: 1.216 MB / 0.9221 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/1.636, allocations: 0.8839 MB / 0.923 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/1.637, allocations: 47.5 kB / 0.923 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/1.64, allocations: 0.566 MB / 0.9236 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008558/1.64, allocations: 460.8 kB / 0.924 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.642, allocations: 254.8 kB / 0.9243 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/1.644, allocations: 1.356 MB / 0.9256 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.644, allocations: 0 / 0.9256 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/1.644, allocations: 0 / 0.9256 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.636e-05/1.644, allocations: 1.812 kB / 0.9256 GB, free: 21.44 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003243/1.647, allocations: 1.241 MB / 0.9268 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.647, allocations: 9.625 kB / 0.9268 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.649, allocations: 253 kB / 0.9271 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.651, allocations: 0.8143 MB / 0.9279 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/1.651, allocations: 74.5 kB / 0.9279 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.651, allocations: 97.28 kB / 0.928 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.653, allocations: 1.177 MB / 0.9292 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/1.653, allocations: 3 kB / 0.9292 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.653, allocations: 37.62 kB / 0.9292 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/1.653, allocations: 40.94 kB / 0.9292 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/1.655, allocations: 0.9004 MB / 0.9301 GB, free: 20.08 MB / 0.7325 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.007569/1.662, allocations: 5.743 MB / 0.9357 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/1.663, allocations: 0.5274 MB / 0.9363 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/1.664, allocations: 324.9 kB / 0.9366 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/1.664, allocations: 323.8 kB / 0.9369 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.665, allocations: 42.81 kB / 0.9369 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.805e-06/1.665, allocations: 0 / 0.9369 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001678/1.666, allocations: 0.8134 MB / 0.9377 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.666, allocations: 86.61 kB / 0.9378 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/1.667, allocations: 0.7329 MB / 0.9385 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/1.667, allocations: 44.45 kB / 0.9385 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/1.668, allocations: 0.4969 MB / 0.939 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.668, allocations: 182.6 kB / 0.9392 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/1.668, allocations: 15.34 kB / 0.9392 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.668, allocations: 390.2 kB / 0.9396 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/1.669, allocations: 248.7 kB / 0.9398 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.669, allocations: 0.5575 MB / 0.9404 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/1.67, allocations: 353.8 kB / 0.9407 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/1.67, allocations: 6.812 kB / 0.9407 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001247/1.671, allocations: 0.8506 MB / 0.9415 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.671, allocations: 14.12 kB / 0.9416 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.671, allocations: 6.719 kB / 0.9416 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/1.671, allocations: 13.53 kB / 0.9416 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/1.672, allocations: 164.7 kB / 0.9417 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.672, allocations: 20.52 kB / 0.9418 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.673, allocations: 144.5 kB / 0.9419 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.673, allocations: 35.56 kB / 0.9419 GB, free: 14.33 MB / 0.7325 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.0006068/1.673, allocations: 328.8 kB / 0.9422 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.674, allocations: 83.06 kB / 0.9423 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.675, allocations: 0.6213 MB / 0.9429 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.675, allocations: 9.25 kB / 0.9429 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.675, allocations: 3.953 kB / 0.9429 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00072/1.675, allocations: 0.5253 MB / 0.9435 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/1.678, allocations: 1.765 MB / 0.9452 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.678, allocations: 6.875 kB / 0.9452 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/1.679, allocations: 115.2 kB / 0.9453 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.679, allocations: 5.094 kB / 0.9453 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/1.679, allocations: 16.61 kB / 0.9453 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.679, allocations: 8.703 kB / 0.9453 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.679, allocations: 2.25 kB / 0.9453 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.68, allocations: 1.072 MB / 0.9464 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/1.681, allocations: 236.5 kB / 0.9466 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.681, allocations: 16.81 kB / 0.9466 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/1.681, allocations: 66.22 kB / 0.9467 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/1.681, allocations: 33.84 kB / 0.9467 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/1.682, allocations: 20.67 kB / 0.9467 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006682/1.682, allocations: 0.5038 MB / 0.9472 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.682, allocations: 6.906 kB / 0.9472 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001107/1.683, allocations: 292 kB / 0.9475 GB, free: 13.02 MB / 0.7325 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.0005389/1.684, allocations: 217.6 kB / 0.9477 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009535/1.685, allocations: 0.6118 MB / 0.9483 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.685, allocations: 4.062 kB / 0.9483 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/1.685, allocations: 272.3 kB / 0.9486 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.687, allocations: 444.6 kB / 0.949 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/1.691, allocations: 2.393 MB / 0.9513 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/1.691, allocations: 1.119 MB / 0.9524 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001065/1.693, allocations: 277.5 kB / 0.9527 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.693, allocations: 75.12 kB / 0.9528 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.313e-06/1.693, allocations: 0 / 0.9528 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.02834/1.721, allocations: 14.76 MB / 0.9672 GB, free: 7.277 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: