Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 175.7 kB / 25.18 MB, free: 8.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9004/0.9004, allocations: 177.1 MB / 205.6 MB, free: 4.383 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.933/1.933, allocations: 389.6 MB / 0.6364 GB, free: 13.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.478e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.529/0.529, allocations: 151.3 MB / 0.9234 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005874/0.5348, allocations: 4.146 MB / 0.9274 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.5355, allocations: 47.62 kB / 0.9275 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.5362, allocations: 278 kB / 0.9277 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.5382, allocations: 1.282 MB / 0.929 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.5397, allocations: 0.7636 MB / 0.9297 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.5418, allocations: 2.549 MB / 0.9322 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.5431, allocations: 0.8601 MB / 0.933 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.5451, allocations: 1.522 MB / 0.9345 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009591/0.5461, allocations: 0.8027 MB / 0.9353 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.5462, allocations: 104 kB / 0.9354 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.547, allocations: 443 kB / 0.9358 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.5473, allocations: 0.5338 MB / 0.9364 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.5477, allocations: 459 kB / 0.9368 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5491, allocations: 1.211 MB / 0.938 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5491, allocations: 4 kB / 0.938 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5491, allocations: 0 / 0.938 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.5491, allocations: 0 / 0.938 GB, free: 12.6 MB / 0.8542 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.001364/0.5504, allocations: 1.31 MB / 0.9393 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5505, allocations: 8.031 kB / 0.9393 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/0.5512, allocations: 316.1 kB / 0.9396 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.5519, allocations: 0.6246 MB / 0.9402 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.5519, allocations: 70 kB / 0.9402 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.552, allocations: 92 kB / 0.9403 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.5527, allocations: 0.8634 MB / 0.9412 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5527, allocations: 11.86 kB / 0.9412 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.5528, allocations: 40 kB / 0.9412 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.483e-05/0.5528, allocations: 38 kB / 0.9413 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.5532, allocations: 314 kB / 0.9416 GB, free: 8.762 MB / 0.8542 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.002442/0.5556, allocations: 3.399 MB / 0.9449 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.5559, allocations: 278.5 kB / 0.9452 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.556, allocations: 118.7 kB / 0.9453 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.5562, allocations: 56.44 kB / 0.9453 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/0.5563, allocations: 46 kB / 0.9454 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 1.974e-06/0.5563, allocations: 0 / 0.9454 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.0004705/0.5568, allocations: 310 kB / 0.9457 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.5568, allocations: 59.91 kB / 0.9457 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.5571, allocations: 0.5583 MB / 0.9463 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.5571, allocations: 41.69 kB / 0.9463 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5573, allocations: 449 kB / 0.9467 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.5574, allocations: 186.4 kB / 0.9469 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5575, allocations: 126.6 kB / 0.947 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.5578, allocations: 394.6 kB / 0.9474 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.5578, allocations: 76.73 kB / 0.9475 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.5581, allocations: 0.6394 MB / 0.9481 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.5585, allocations: 468.2 kB / 0.9485 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5585, allocations: 4 kB / 0.9486 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004288/0.5589, allocations: 440.2 kB / 0.949 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5589, allocations: 8 kB / 0.949 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5589, allocations: 8 kB / 0.949 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5589, allocations: 12 kB / 0.949 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.5593, allocations: 163.7 kB / 0.9492 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5593, allocations: 19.92 kB / 0.9492 GB, free: 468 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.5596, allocations: 75.47 kB / 0.9492 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.5596, allocations: 32 kB / 0.9493 GB, free: 360 kB / 0.8542 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.0001417/0.5598, allocations: 164.5 kB / 0.9494 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.5598, allocations: 63.92 kB / 0.9495 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.5602, allocations: 290.6 kB / 0.9498 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5602, allocations: 4 kB / 0.9498 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.5602, allocations: 0 / 0.9498 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001706/0.5603, allocations: 196.3 kB / 0.95 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.5614, allocations: 0.9059 MB / 0.9508 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5614, allocations: 0 / 0.9508 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.5617, allocations: 143.7 kB / 0.951 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5617, allocations: 4 kB / 0.951 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.5617, allocations: 12 kB / 0.951 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5617, allocations: 12.2 kB / 0.951 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5617, allocations: 7.938 kB / 0.951 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.5622, allocations: 0.5269 MB / 0.9515 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.5623, allocations: 115.3 kB / 0.9516 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.5623, allocations: 12 kB / 0.9517 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.5625, allocations: 12 kB / 0.9517 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.5626, allocations: 39.81 kB / 0.9517 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.5626, allocations: 15.98 kB / 0.9517 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5627, allocations: 256.6 kB / 0.952 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.5627, allocations: 4 kB / 0.952 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004537/0.5632, allocations: 311.3 kB / 0.9523 GB, free: 13.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0003175/0.5635, allocations: 166.3 kB / 0.9524 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.5638, allocations: 290.8 kB / 0.9527 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.5638, allocations: 12.44 kB / 0.9527 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.564, allocations: 129.3 kB / 0.9528 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.5648, allocations: 402.2 kB / 0.9532 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5665, allocations: 1.624 MB / 0.9548 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.5668, allocations: 492.1 kB / 0.9553 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.5674, allocations: 329 kB / 0.9556 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/0.5674, allocations: 0 / 0.9556 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of Templates: time 0.01194/0.5793, allocations: 14 MB / 0.9693 GB, free: 11.79 MB / 0.8855 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.916251804679632]