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.738/1.738, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.0008818/0.0008819, allocations: 178.1 kB / 372.9 MB, free: 10.17 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.585/1.585, allocations: 205.4 MB / 0.6316 GB, free: 9.934 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.0008326/0.0008324, allocations: 102.3 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.000418, allocations: 12.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1901, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6538/0.8439, allocations: 177.6 MB / 1.154 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.8614, allocations: 13.25 MB / 1.167 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.8631, allocations: 27.47 kB / 1.167 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.8645, allocations: 388.8 kB / 1.167 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.8699, allocations: 1.639 MB / 1.169 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.8725, allocations: 0.6785 MB / 1.17 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.8768, allocations: 3.057 MB / 1.173 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.8782, allocations: 0.9036 MB / 1.174 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/0.8818, allocations: 1.298 MB / 1.175 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.8839, allocations: 0.8859 MB / 1.176 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.8843, allocations: 52.06 kB / 1.176 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.8878, allocations: 1.227 MB / 1.177 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009/0.8887, allocations: 442.7 kB / 1.177 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.8898, allocations: 0.5635 MB / 1.178 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.8917, allocations: 1.413 MB / 1.179 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8917, allocations: 3.938 kB / 1.179 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8917, allocations: 0 / 1.179 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.8917, allocations: 2.906 kB / 1.179 GB, free: 6.344 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.001916/0.8936, allocations: 1.228 MB / 1.181 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8937, allocations: 7.938 kB / 1.181 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.8949, allocations: 259.3 kB / 1.181 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.8963, allocations: 0.8366 MB / 1.182 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.8964, allocations: 79.19 kB / 1.182 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8966, allocations: 90.81 kB / 1.182 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.8982, allocations: 1.167 MB / 1.183 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.8982, allocations: 6.75 kB / 1.183 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.8983, allocations: 39.97 kB / 1.183 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.8983, allocations: 32.84 kB / 1.183 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.8997, allocations: 0.9089 MB / 1.184 GB, free: 3.293 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.005185/0.9048, allocations: 5.738 MB / 1.189 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.9056, allocations: 0.5577 MB / 1.19 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.906, allocations: 332.6 kB / 1.19 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.9066, allocations: 327.6 kB / 1.191 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.9067, allocations: 37.91 kB / 1.191 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 3.547e-06/0.9067, allocations: 0 / 1.191 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001405/0.9081, allocations: 0.8173 MB / 1.191 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.9081, allocations: 87.42 kB / 1.192 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.9089, allocations: 0.7375 MB / 1.192 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.909, allocations: 38.95 kB / 1.192 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.9093, allocations: 0.5094 MB / 1.193 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.9095, allocations: 186 kB / 1.193 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.9095, allocations: 11.31 kB / 1.193 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9096, allocations: 337.4 kB / 1.193 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.91, allocations: 251 kB / 1.194 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.9106, allocations: 0.5859 MB / 1.194 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.9115, allocations: 0.798 MB / 1.195 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9115, allocations: 2.031 kB / 1.195 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001188/0.9127, allocations: 0.8546 MB / 1.196 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9128, allocations: 18.31 kB / 1.196 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.9128, allocations: 7.938 kB / 1.196 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.9128, allocations: 14.25 kB / 1.196 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.9134, allocations: 155.2 kB / 1.196 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.9134, allocations: 19.27 kB / 1.196 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.9143, allocations: 148.2 kB / 1.196 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.9144, allocations: 31.56 kB / 1.196 GB, free: 9.445 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.0005235/0.915, allocations: 337 kB / 1.196 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.9151, allocations: 84.25 kB / 1.197 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.9162, allocations: 0.6247 MB / 1.197 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007638/0.917, allocations: 0.5175 MB / 1.198 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.917, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.9173, allocations: 239.1 kB / 1.198 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.9175, allocations: 11.22 kB / 1.198 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.918, allocations: 76.45 kB / 1.198 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.9181, allocations: 25.75 kB / 1.198 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001254/0.9194, allocations: 0.771 MB / 1.199 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001321/0.9207, allocations: 1.2 MB / 1.2 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003461/0.9211, allocations: 266.6 kB / 1.2 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005817/0.9216, allocations: 0.5157 MB / 1.201 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of Backend: time 7.62e-07/0.9217, allocations: 0 / 1.201 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.9234, allocations: 0.7331 MB / 1.201 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of SimCode: time 0.003992/0.9274, allocations: 2.927 MB / 1.204 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of Templates: time 0.02894/0.9564, allocations: 17.37 MB / 1.221 GB, free: 3.438 MB / 0.7448 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)