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.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.56/1.56, allocations: 251.7 MB / 0.5092 GB, free: 3.168 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.00141/0.00141, allocations: 63.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7135, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9174/1.631, allocations: 195.3 MB / 0.9152 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02083/1.652, allocations: 14.38 MB / 0.9293 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/1.654, allocations: 36.98 kB / 0.9293 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/1.656, allocations: 0.5002 MB / 0.9298 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/1.661, allocations: 1.893 MB / 0.9316 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/1.665, allocations: 0.8731 MB / 0.9325 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003649/1.668, allocations: 2.606 MB / 0.935 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/1.67, allocations: 1.118 MB / 0.9361 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/1.674, allocations: 1.611 MB / 0.9377 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/1.676, allocations: 0.9223 MB / 0.9386 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.676, allocations: 109.2 kB / 0.9387 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/1.678, allocations: 1.097 MB / 0.9398 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/1.679, allocations: 0.5039 MB / 0.9403 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008787/1.68, allocations: 0.6336 MB / 0.9409 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/1.683, allocations: 1.895 MB / 0.9427 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.683, allocations: 4.578 kB / 0.9427 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/1.683, allocations: 0 / 0.9427 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.683, allocations: 0 / 0.9427 GB, free: 1.367 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.002222/1.685, allocations: 1.439 MB / 0.9441 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.685, allocations: 10.75 kB / 0.9442 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.687, allocations: 257 kB / 0.9444 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/1.688, allocations: 0.7478 MB / 0.9451 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/1.688, allocations: 69.47 kB / 0.9452 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.688, allocations: 96.58 kB / 0.9453 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/1.69, allocations: 1.186 MB / 0.9464 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.69, allocations: 2.406 kB / 0.9465 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/1.69, allocations: 41.66 kB / 0.9465 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/1.69, allocations: 36.47 kB / 0.9465 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.691, allocations: 0.9043 MB / 0.9474 GB, free: 15.97 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.005665/1.697, allocations: 5.758 MB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/1.698, allocations: 0.4961 MB / 0.9535 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/1.698, allocations: 312.8 kB / 0.9538 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/1.699, allocations: 311.7 kB / 0.9541 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.699, allocations: 43.19 kB / 0.9542 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/1.699, allocations: 1.094 kB / 0.9542 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001377/1.7, allocations: 0.7952 MB / 0.9549 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.7, allocations: 59.47 kB / 0.955 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/1.701, allocations: 0.7343 MB / 0.9557 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/1.701, allocations: 37.36 kB / 0.9557 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/1.701, allocations: 0.502 MB / 0.9562 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/1.701, allocations: 181 kB / 0.9564 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.702, allocations: 143.2 kB / 0.9565 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.702, allocations: 392.7 kB / 0.9569 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/1.702, allocations: 244.8 kB / 0.9571 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/1.703, allocations: 0.5377 MB / 0.9577 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.704, allocations: 0.7952 MB / 0.9584 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.704, allocations: 2.781 kB / 0.9585 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001122/1.705, allocations: 0.8326 MB / 0.9593 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.705, allocations: 11.16 kB / 0.9593 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.705, allocations: 6.5 kB / 0.9593 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.705, allocations: 17.75 kB / 0.9593 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/1.705, allocations: 156.9 kB / 0.9594 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.705, allocations: 16.69 kB / 0.9595 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/1.706, allocations: 94.45 kB / 0.9596 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/1.706, allocations: 41.16 kB / 0.9596 GB, free: 10.08 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.0004476/1.707, allocations: 328.8 kB / 0.9599 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.707, allocations: 82.72 kB / 0.96 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/1.708, allocations: 0.6093 MB / 0.9606 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.708, allocations: 10.22 kB / 0.9606 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.708, allocations: 2.906 kB / 0.9606 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005997/1.708, allocations: 0.5121 MB / 0.9611 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/1.711, allocations: 1.663 MB / 0.9627 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.711, allocations: 3.375 kB / 0.9627 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/1.711, allocations: 110.2 kB / 0.9628 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.711, allocations: 11.09 kB / 0.9628 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.711, allocations: 17.97 kB / 0.9629 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/1.711, allocations: 6.219 kB / 0.9629 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.711, allocations: 3.219 kB / 0.9629 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.712, allocations: 1.048 MB / 0.9639 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/1.713, allocations: 225.8 kB / 0.9641 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.713, allocations: 14.44 kB / 0.9641 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/1.713, allocations: 16.88 kB / 0.9641 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/1.714, allocations: 41.48 kB / 0.9642 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/1.714, allocations: 19.62 kB / 0.9642 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005844/1.714, allocations: 0.5059 MB / 0.9647 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.714, allocations: 0 / 0.9647 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009194/1.715, allocations: 300.7 kB / 0.965 GB, free: 8.871 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.0005076/1.716, allocations: 204 kB / 0.9652 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.717, allocations: 0.7086 MB / 0.9659 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.717, allocations: 5.062 kB / 0.9659 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/1.717, allocations: 271.6 kB / 0.9661 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.719, allocations: 440.3 kB / 0.9665 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/1.722, allocations: 1.928 MB / 0.9684 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.722, allocations: 1.12 MB / 0.9695 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008058/1.723, allocations: 272.9 kB / 0.9698 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/1.723, allocations: 71.88 kB / 0.9698 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/1.723, allocations: 0 / 0.9698 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.03065/1.754, allocations: 15.34 MB / 0.9848 GB, free: 2.949 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)