Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.4 MB / 303.7 MB, free: 8.891 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.001019/0.001019, allocations: 179.7 kB / 372.3 MB, free: 6.441 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.587/1.587, allocations: 205.4 MB / 0.631 GB, free: 14.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007196/0.0007195, allocations: 89.62 kB / 0.7444 GB, free: 63.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 12 kB / 0.8675 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 115.3 MB / 0.9801 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6203/0.8431, allocations: 177.6 MB / 1.154 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.8587, allocations: 13.26 MB / 1.166 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.8601, allocations: 34.53 kB / 1.167 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.8614, allocations: 381.2 kB / 1.167 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.8657, allocations: 1.641 MB / 1.168 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.8679, allocations: 0.6776 MB / 1.169 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.8711, allocations: 3.057 MB / 1.172 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.8723, allocations: 0.9017 MB / 1.173 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.8749, allocations: 1.29 MB / 1.174 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.8766, allocations: 0.8818 MB / 1.175 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.8767, allocations: 48.84 kB / 1.175 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.879, allocations: 1.228 MB / 1.176 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.8795, allocations: 442 kB / 1.177 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.8803, allocations: 0.5658 MB / 1.177 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.8821, allocations: 1.416 MB / 1.179 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8821, allocations: 2.781 kB / 1.179 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8821, allocations: 0 / 1.179 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.8821, allocations: 0 / 1.179 GB, free: 13.92 MB / 0.7761 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.001997/0.8841, allocations: 1.229 MB / 1.18 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8842, allocations: 9.188 kB / 1.18 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.8855, allocations: 250.3 kB / 1.18 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.887, allocations: 0.8395 MB / 1.181 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.8871, allocations: 72.97 kB / 1.181 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.8872, allocations: 93.22 kB / 1.181 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.889, allocations: 1.178 MB / 1.182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.889, allocations: 7.156 kB / 1.182 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.8891, allocations: 45.14 kB / 1.182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.8892, allocations: 34.88 kB / 1.182 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.8906, allocations: 0.9039 MB / 1.183 GB, free: 11.51 MB / 0.7761 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.006288/0.8969, allocations: 5.732 MB / 1.189 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.8978, allocations: 0.553 MB / 1.189 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.8982, allocations: 338.3 kB / 1.19 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.8989, allocations: 323.5 kB / 1.19 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.8989, allocations: 45.41 kB / 1.19 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=51): time 2.966e-06/0.899, allocations: 0 / 1.19 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51): time 0.001456/0.9004, allocations: 0.8182 MB / 1.191 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.9005, allocations: 86.66 kB / 1.191 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/0.9014, allocations: 0.7383 MB / 1.192 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.9015, allocations: 43.8 kB / 1.192 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.9018, allocations: 0.5052 MB / 1.192 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.902, allocations: 186.3 kB / 1.192 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.902, allocations: 15.22 kB / 1.192 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9022, allocations: 345.5 kB / 1.193 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.9026, allocations: 244.3 kB / 1.193 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.9033, allocations: 0.5772 MB / 1.194 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.9044, allocations: 0.8062 MB / 1.194 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.9044, allocations: 2.125 kB / 1.194 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001484/0.9059, allocations: 0.852 MB / 1.195 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.9059, allocations: 7.938 kB / 1.195 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.906, allocations: 9.562 kB / 1.195 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.906, allocations: 12.47 kB / 1.195 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.9067, allocations: 167.5 kB / 1.195 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.9067, allocations: 18.72 kB / 1.195 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.9077, allocations: 137.4 kB / 1.195 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.9078, allocations: 36.22 kB / 1.196 GB, free: 2.945 MB / 0.7761 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.0006174/0.9085, allocations: 337 kB / 1.196 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9086, allocations: 84.72 kB / 1.196 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.9098, allocations: 0.6264 MB / 1.197 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.9098, allocations: 5.312 kB / 1.197 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9098, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007713/0.9106, allocations: 0.5237 MB / 1.197 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.9134, allocations: 1.774 MB / 1.199 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.9134, allocations: 2.188 kB / 1.199 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.914, allocations: 120 kB / 1.199 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.914, allocations: 11.2 kB / 1.199 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.9141, allocations: 11.41 kB / 1.199 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.9141, allocations: 3.531 kB / 1.199 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.9141, allocations: 6.281 kB / 1.199 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.9157, allocations: 1.073 MB / 1.2 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.9161, allocations: 238 kB / 1.2 GB, free: 496 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.9162, allocations: 14.47 kB / 1.2 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.9168, allocations: 65.64 kB / 1.2 GB, free: 468 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.9169, allocations: 38.97 kB / 1.2 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.9169, allocations: 17.75 kB / 1.2 GB, free: 456 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007254/0.9177, allocations: 0.5053 MB / 1.201 GB, free: 240 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9177, allocations: 1.031 kB / 1.201 GB, free: 240 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00117/0.9188, allocations: 299.7 kB / 1.201 GB, free: 180 kB / 0.7761 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.0006742/0.9195, allocations: 223.8 kB / 1.201 GB, free: 36 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.9207, allocations: 0.619 MB / 1.202 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9207, allocations: 1.125 kB / 1.202 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.9211, allocations: 277.3 kB / 1.202 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.9234, allocations: 441.7 kB / 1.203 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.9272, allocations: 2.382 MB / 1.205 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.928, allocations: 1.13 MB / 1.206 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001023/0.929, allocations: 279.9 kB / 1.206 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.9292, allocations: 71.88 kB / 1.206 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of SimCode: time 1.162e-06/0.9292, allocations: 0 / 1.206 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.03431/0.9635, allocations: 15.14 MB / 1.221 GB, free: 12.4 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)