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.001373/0.001372, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001717/0.001716, allocations: 187.3 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 222.1 MB, free: 4.574 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.484/1.484, allocations: 251.7 MB / 0.5089 GB, free: 3.328 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.001473/0.001473, allocations: 72.45 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6034, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9843/1.588, allocations: 192.8 MB / 0.9122 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02458/1.612, allocations: 14.27 MB / 0.9262 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/1.615, allocations: 30.66 kB / 0.9262 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/1.617, allocations: 443.4 kB / 0.9266 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006433/1.623, allocations: 1.776 MB / 0.9284 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/1.626, allocations: 0.7987 MB / 0.9291 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004434/1.63, allocations: 2.615 MB / 0.9317 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/1.632, allocations: 1.078 MB / 0.9328 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005289/1.637, allocations: 1.61 MB / 0.9343 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.639, allocations: 0.992 MB / 0.9353 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/1.639, allocations: 107.8 kB / 0.9354 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/1.642, allocations: 1.147 MB / 0.9365 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006155/1.643, allocations: 0.503 MB / 0.937 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009311/1.644, allocations: 0.6353 MB / 0.9376 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002605/1.646, allocations: 1.974 MB / 0.9396 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.646, allocations: 0 / 0.9396 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/1.646, allocations: 3.406 kB / 0.9396 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.646, allocations: 0.875 kB / 0.9396 GB, free: 1.461 MB / 0.7169 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.002165/1.648, allocations: 1.444 MB / 0.941 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.648, allocations: 12.33 kB / 0.941 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.65, allocations: 249.7 kB / 0.9412 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.651, allocations: 0.7422 MB / 0.9419 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/1.651, allocations: 74.06 kB / 0.942 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/1.651, allocations: 94.5 kB / 0.9421 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/1.653, allocations: 1.184 MB / 0.9433 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.653, allocations: 5.688 kB / 0.9433 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/1.653, allocations: 42.28 kB / 0.9433 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/1.653, allocations: 34.06 kB / 0.9433 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/1.654, allocations: 0.9098 MB / 0.9442 GB, free: 16.07 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.005967/1.66, allocations: 5.713 MB / 0.9498 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/1.661, allocations: 0.4991 MB / 0.9503 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/1.662, allocations: 313.7 kB / 0.9506 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/1.662, allocations: 313.1 kB / 0.9509 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.662, allocations: 37.5 kB / 0.9509 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 4.028e-06/1.662, allocations: 3.844 kB / 0.9509 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001424/1.664, allocations: 0.7868 MB / 0.9517 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.664, allocations: 61.34 kB / 0.9518 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/1.665, allocations: 0.739 MB / 0.9525 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/1.665, allocations: 36.92 kB / 0.9525 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.665, allocations: 0.5047 MB / 0.953 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/1.665, allocations: 183.4 kB / 0.9532 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.666, allocations: 145.8 kB / 0.9533 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002615/1.666, allocations: 391.9 kB / 0.9537 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/1.666, allocations: 245.3 kB / 0.9539 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.667, allocations: 0.5336 MB / 0.9545 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.668, allocations: 0.7975 MB / 0.9552 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.668, allocations: 2.094 kB / 0.9552 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001296/1.669, allocations: 0.8371 MB / 0.9561 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.669, allocations: 7.375 kB / 0.9561 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.669, allocations: 9.391 kB / 0.9561 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.669, allocations: 14.7 kB / 0.9561 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/1.67, allocations: 154.8 kB / 0.9562 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/1.67, allocations: 20.38 kB / 0.9562 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/1.671, allocations: 140.6 kB / 0.9564 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/1.671, allocations: 34.16 kB / 0.9564 GB, free: 10.18 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004693/1.671, allocations: 328.8 kB / 0.9567 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.671, allocations: 85.11 kB / 0.9568 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/1.672, allocations: 0.6139 MB / 0.9574 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.672, allocations: 5.75 kB / 0.9574 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.672, allocations: 7.938 kB / 0.9574 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006871/1.673, allocations: 0.513 MB / 0.9579 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/1.676, allocations: 1.651 MB / 0.9595 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.676, allocations: 3.688 kB / 0.9595 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/1.676, allocations: 113.4 kB / 0.9596 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/1.676, allocations: 6.125 kB / 0.9597 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.676, allocations: 15.02 kB / 0.9597 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.676, allocations: 6.25 kB / 0.9597 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.676, allocations: 2.906 kB / 0.9597 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.677, allocations: 1.051 MB / 0.9607 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/1.678, allocations: 229.3 kB / 0.9609 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.678, allocations: 10.41 kB / 0.9609 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/1.678, allocations: 72.72 kB / 0.961 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/1.679, allocations: 34.77 kB / 0.961 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.679, allocations: 17.22 kB / 0.9611 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006688/1.679, allocations: 0.5077 MB / 0.9615 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.679, allocations: 0 / 0.9615 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001/1.68, allocations: 297.3 kB / 0.9618 GB, free: 8.973 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005586/1.681, allocations: 214 kB / 0.962 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.682, allocations: 0.7036 MB / 0.9627 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.682, allocations: 3.703 kB / 0.9627 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/1.682, allocations: 270.3 kB / 0.963 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.684, allocations: 439.1 kB / 0.9634 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/1.688, allocations: 2.302 MB / 0.9656 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/1.688, allocations: 1.119 MB / 0.9667 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009512/1.689, allocations: 270.4 kB / 0.967 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.69, allocations: 71.06 kB / 0.9671 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of SimCode: time 7.62e-07/1.69, allocations: 0 / 0.9671 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.02699/1.717, allocations: 15.26 MB / 0.982 GB, free: 3.176 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (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)