Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.779/1.779, allocations: 287.5 MB / 302.6 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 184.6 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.6299 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000803/0.0008031, allocations: 102.8 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 16.34 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7696/1.102, allocations: 177.6 MB / 1.152 GB, free: 9.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01818/1.12, allocations: 13.26 MB / 1.165 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.122, allocations: 28.03 kB / 1.165 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/1.123, allocations: 353.3 kB / 1.165 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004956/1.128, allocations: 1.377 MB / 1.167 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/1.131, allocations: 0.6539 MB / 1.167 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004691/1.135, allocations: 3.054 MB / 1.17 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/1.137, allocations: 0.9048 MB / 1.171 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/1.14, allocations: 1.197 MB / 1.172 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/1.142, allocations: 0.8875 MB / 1.173 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/1.142, allocations: 47.06 kB / 1.173 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/1.145, allocations: 0.5665 MB / 1.174 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006421/1.146, allocations: 448.1 kB / 1.174 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005065/1.146, allocations: 248.3 kB / 1.175 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/1.148, allocations: 1.357 MB / 1.176 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.148, allocations: 1.969 kB / 1.176 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.148, allocations: 0 / 1.176 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.08e-05/1.148, allocations: 0 / 1.176 GB, free: 8.301 MB / 0.7136 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.002211/1.15, allocations: 1.225 MB / 1.177 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/1.15, allocations: 14.45 kB / 1.177 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/1.152, allocations: 244.6 kB / 1.177 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/1.153, allocations: 0.8553 MB / 1.178 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/1.153, allocations: 68.38 kB / 1.178 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/1.153, allocations: 97.28 kB / 1.178 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.155, allocations: 1.164 MB / 1.179 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.155, allocations: 7.844 kB / 1.179 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/1.155, allocations: 42.59 kB / 1.179 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/1.155, allocations: 35.86 kB / 1.18 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/1.157, allocations: 0.8981 MB / 1.18 GB, free: 5.262 MB / 0.7136 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.00579/1.163, allocations: 5.741 MB / 1.186 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/1.164, allocations: 0.5553 MB / 1.187 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/1.164, allocations: 332.5 kB / 1.187 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/1.165, allocations: 328.8 kB / 1.187 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.165, allocations: 40.75 kB / 1.187 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/1.165, allocations: 0 / 1.187 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001601/1.166, allocations: 0.8186 MB / 1.188 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/1.166, allocations: 82.11 kB / 1.188 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/1.167, allocations: 0.7465 MB / 1.189 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/1.167, allocations: 36.92 kB / 1.189 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/1.168, allocations: 0.5091 MB / 1.189 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/1.168, allocations: 182 kB / 1.19 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/1.168, allocations: 14.66 kB / 1.19 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.168, allocations: 338.6 kB / 1.19 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/1.169, allocations: 253.7 kB / 1.19 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/1.169, allocations: 0.582 MB / 1.191 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/1.17, allocations: 0.8014 MB / 1.191 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/1.17, allocations: 2.969 kB / 1.191 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001278/1.171, allocations: 0.8529 MB / 1.192 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.171, allocations: 8.969 kB / 1.192 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.172, allocations: 16.11 kB / 1.192 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.172, allocations: 10.88 kB / 1.192 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/1.172, allocations: 162.9 kB / 1.192 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.172, allocations: 22.77 kB / 1.192 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.173, allocations: 137 kB / 1.193 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/1.173, allocations: 34.73 kB / 1.193 GB, free: 11.4 MB / 0.7292 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.0006383/1.174, allocations: 335 kB / 1.193 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.174, allocations: 88.56 kB / 1.193 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.175, allocations: 0.6342 MB / 1.194 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.175, allocations: 9.109 kB / 1.194 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.175, allocations: 0 / 1.194 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007054/1.176, allocations: 0.5157 MB / 1.194 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/1.179, allocations: 1.77 MB / 1.196 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.179, allocations: 0 / 1.196 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/1.18, allocations: 124.1 kB / 1.196 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/1.18, allocations: 3.5 kB / 1.196 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/1.18, allocations: 23.48 kB / 1.196 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.18, allocations: 3.312 kB / 1.196 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.18, allocations: 2.875 kB / 1.196 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.181, allocations: 1.081 MB / 1.197 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/1.181, allocations: 231.4 kB / 1.197 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.182, allocations: 13.78 kB / 1.197 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/1.182, allocations: 61.75 kB / 1.197 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/1.182, allocations: 36.89 kB / 1.197 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/1.182, allocations: 17.69 kB / 1.197 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000642/1.183, allocations: 0.5114 MB / 1.198 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/1.183, allocations: 0 / 1.198 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000991/1.184, allocations: 304.4 kB / 1.198 GB, free: 7.891 MB / 0.7292 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.0004983/1.184, allocations: 219.3 kB / 1.198 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000946/1.185, allocations: 0.6158 MB / 1.199 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.185, allocations: 4.031 kB / 1.199 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/1.186, allocations: 282.8 kB / 1.199 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.188, allocations: 428.1 kB / 1.2 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/1.191, allocations: 2.389 MB / 1.202 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/1.192, allocations: 1.122 MB / 1.203 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001026/1.193, allocations: 275 kB / 1.203 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/1.193, allocations: 82.5 kB / 1.204 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/1.193, allocations: 3.938 kB / 1.204 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.02702/1.22, allocations: 14.88 MB / 1.218 GB, free: 5.734 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)