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.599/1.599, allocations: 287.4 MB / 303.2 MB, free: 8.238 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.0008986/0.0008986, allocations: 183 kB / 371.8 MB, free: 10.83 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.268/1.268, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0006914/0.0006914, allocations: 95.42 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 11.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1789, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5496/0.7286, allocations: 177.5 MB / 1.153 GB, free: 9.176 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.7443, allocations: 13.26 MB / 1.166 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.7454, allocations: 27.97 kB / 1.166 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.7465, allocations: 349.3 kB / 1.166 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.7502, allocations: 1.373 MB / 1.167 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.7521, allocations: 0.6629 MB / 1.168 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003235/0.7553, allocations: 3.054 MB / 1.171 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.7565, allocations: 0.8969 MB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.759, allocations: 1.201 MB / 1.173 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.7603, allocations: 0.8873 MB / 1.174 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.7604, allocations: 47.66 kB / 1.174 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.762, allocations: 0.5621 MB / 1.174 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.7625, allocations: 448.4 kB / 1.175 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.7628, allocations: 259.2 kB / 1.175 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.7643, allocations: 1.354 MB / 1.176 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7643, allocations: 1.312 kB / 1.176 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7643, allocations: 0 / 1.176 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.7643, allocations: 0 / 1.176 GB, free: 8.32 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.002024/0.7663, allocations: 1.222 MB / 1.178 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7664, allocations: 7.562 kB / 1.178 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.7676, allocations: 259.7 kB / 1.178 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.7691, allocations: 0.8415 MB / 1.179 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.7691, allocations: 75.47 kB / 1.179 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.7693, allocations: 91.19 kB / 1.179 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.7709, allocations: 1.167 MB / 1.18 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.7709, allocations: 7.844 kB / 1.18 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.771, allocations: 43.34 kB / 1.18 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.7711, allocations: 31.75 kB / 1.18 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.7724, allocations: 0.9034 MB / 1.181 GB, free: 5.281 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.005377/0.7778, allocations: 5.741 MB / 1.187 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.7785, allocations: 0.5542 MB / 1.187 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.779, allocations: 331 kB / 1.187 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.7797, allocations: 328.5 kB / 1.188 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.7798, allocations: 40.78 kB / 1.188 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.896e-06/0.7798, allocations: 3.938 kB / 1.188 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001467/0.7813, allocations: 0.8142 MB / 1.189 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.7813, allocations: 87.02 kB / 1.189 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/0.7822, allocations: 0.7412 MB / 1.189 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.7823, allocations: 38.83 kB / 1.189 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.7826, allocations: 0.5052 MB / 1.19 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7828, allocations: 186 kB / 1.19 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.7828, allocations: 15.28 kB / 1.19 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7829, allocations: 342.2 kB / 1.19 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.7833, allocations: 247.6 kB / 1.191 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.7839, allocations: 0.586 MB / 1.191 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.7848, allocations: 0.8003 MB / 1.192 GB, free: 12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7848, allocations: 0 / 1.192 GB, free: 12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001202/0.786, allocations: 0.8533 MB / 1.193 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.786, allocations: 11.75 kB / 1.193 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7861, allocations: 5.5 kB / 1.193 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7861, allocations: 14.19 kB / 1.193 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.7867, allocations: 162.9 kB / 1.193 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.7867, allocations: 14.91 kB / 1.193 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.7876, allocations: 141.2 kB / 1.193 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.7877, allocations: 38.41 kB / 1.193 GB, free: 11.43 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.0003975/0.7881, allocations: 338.2 kB / 1.194 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7882, allocations: 84.75 kB / 1.194 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.7892, allocations: 0.6333 MB / 1.194 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006653/0.7898, allocations: 0.5217 MB / 1.195 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7899, allocations: 0 / 1.195 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.7902, allocations: 232 kB / 1.195 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7903, allocations: 10.12 kB / 1.195 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.7909, allocations: 71.56 kB / 1.195 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7909, allocations: 32.98 kB / 1.195 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001181/0.7921, allocations: 0.7656 MB / 1.196 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001318/0.7935, allocations: 1.203 MB / 1.197 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003296/0.7938, allocations: 269.8 kB / 1.197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000569/0.7944, allocations: 0.5067 MB / 1.198 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of Backend: time 5.11e-07/0.7944, allocations: 3.938 kB / 1.198 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7961, allocations: 0.7203 MB / 1.198 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of SimCode: time 0.004007/0.8002, allocations: 2.93 MB / 1.201 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of Templates: time 0.02674/0.8269, allocations: 17.16 MB / 1.218 GB, free: 6.422 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)