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.001418/0.001418, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00113/0.00113, allocations: 164.5 kB / 25.05 MB, free: 9.148 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.9855/0.9855, allocations: 177.1 MB / 205.5 MB, free: 5.453 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.882/1.882, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.322e-06/1.322e-06, allocations: 0 / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.124e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1307/0.1307, allocations: 151.3 MB / 0.9239 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005747/0.1365, allocations: 4.137 MB / 0.928 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.1371, allocations: 47.62 kB / 0.928 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.1378, allocations: 289.9 kB / 0.9283 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.14, allocations: 1.27 MB / 0.9296 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1414, allocations: 0.7714 MB / 0.9303 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002766/0.1441, allocations: 2.537 MB / 0.9328 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.1456, allocations: 0.8785 MB / 0.9336 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.1478, allocations: 1.537 MB / 0.9351 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1489, allocations: 0.7908 MB / 0.9359 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1491, allocations: 104 kB / 0.936 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.15, allocations: 439 kB / 0.9364 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.1504, allocations: 0.5376 MB / 0.937 GB, free: 248 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.1508, allocations: 459 kB / 0.9374 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1524, allocations: 1.207 MB / 0.9386 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1524, allocations: 4 kB / 0.9386 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1524, allocations: 0 / 0.9386 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.1524, allocations: 0 / 0.9386 GB, free: 14.58 MB / 0.9011 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.0014/0.1538, allocations: 1.316 MB / 0.9399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1539, allocations: 9.344 kB / 0.9399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.1546, allocations: 315.8 kB / 0.9402 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.1554, allocations: 0.6169 MB / 0.9408 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.1554, allocations: 66 kB / 0.9408 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.1555, allocations: 99.95 kB / 0.9409 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.1562, allocations: 0.8712 MB / 0.9418 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1563, allocations: 0 / 0.9418 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.1563, allocations: 47.98 kB / 0.9418 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.1564, allocations: 34 kB / 0.9419 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1567, allocations: 317.9 kB / 0.9422 GB, free: 10.73 MB / 0.9011 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.00266/0.1594, allocations: 3.406 MB / 0.9455 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1597, allocations: 277.2 kB / 0.9458 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1598, allocations: 109.7 kB / 0.9459 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.16, allocations: 56.45 kB / 0.9459 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.16, allocations: 39.06 kB / 0.946 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.16, allocations: 4 kB / 0.946 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0004999/0.1605, allocations: 310 kB / 0.9463 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1606, allocations: 59.91 kB / 0.9463 GB, free: 6.328 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1609, allocations: 0.5621 MB / 0.9469 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.161, allocations: 37.7 kB / 0.9469 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.1612, allocations: 448.9 kB / 0.9473 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1613, allocations: 194.3 kB / 0.9475 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1614, allocations: 138.5 kB / 0.9476 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1615, allocations: 386.6 kB / 0.948 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1616, allocations: 80.78 kB / 0.9481 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.162, allocations: 0.6316 MB / 0.9487 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1624, allocations: 472.2 kB / 0.9492 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1624, allocations: 11.94 kB / 0.9492 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004329/0.1628, allocations: 427.8 kB / 0.9496 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1628, allocations: 8 kB / 0.9496 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1629, allocations: 8 kB / 0.9496 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1629, allocations: 19.97 kB / 0.9496 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1632, allocations: 156.4 kB / 0.9498 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.1633, allocations: 23.92 kB / 0.9498 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1635, allocations: 75.47 kB / 0.9498 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.1636, allocations: 31.98 kB / 0.9499 GB, free: 2.305 MB / 0.9011 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.0001536/0.1637, allocations: 164.4 kB / 0.95 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.1638, allocations: 59.94 kB / 0.9501 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.1641, allocations: 290.6 kB / 0.9504 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1641, allocations: 4 kB / 0.9504 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1641, allocations: 4 kB / 0.9504 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000173/0.1643, allocations: 200.2 kB / 0.9506 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/0.1653, allocations: 0.8956 MB / 0.9514 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.1653, allocations: 8 kB / 0.9515 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.1656, allocations: 142.2 kB / 0.9516 GB, free: 484 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1656, allocations: 4 kB / 0.9516 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.1657, allocations: 15.98 kB / 0.9516 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1657, allocations: 4 kB / 0.9516 GB, free: 460 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1657, allocations: 11.88 kB / 0.9516 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.1662, allocations: 0.528 MB / 0.9521 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.1663, allocations: 111.2 kB / 0.9522 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1664, allocations: 16 kB / 0.9523 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1665, allocations: 19.98 kB / 0.9523 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1666, allocations: 35.83 kB / 0.9523 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.1666, allocations: 15.98 kB / 0.9523 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001908/0.1668, allocations: 260.5 kB / 0.9526 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1668, allocations: 0 / 0.9526 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005721/0.1674, allocations: 307.3 kB / 0.9529 GB, free: 15.11 MB / 0.9167 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.0003893/0.1678, allocations: 162.4 kB / 0.953 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.1681, allocations: 290.8 kB / 0.9533 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/0.1682, allocations: 12.56 kB / 0.9533 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1683, allocations: 129.4 kB / 0.9534 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.1691, allocations: 397 kB / 0.9538 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1711, allocations: 1.555 MB / 0.9553 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.1713, allocations: 239.1 kB / 0.9556 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003475/0.1716, allocations: 126.5 kB / 0.9557 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.1721, allocations: 321.1 kB / 0.956 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.1721, allocations: 0 / 0.956 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.01875/0.1909, allocations: 15.31 MB / 0.9709 GB, free: 12.91 MB / 0.9323 GB " [Timeout remaining time 300] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.437695910222828]