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.0008925/0.0008925, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001628/0.001628, allocations: 158.2 kB / 24.96 MB, free: 8.715 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.9371/0.9371, allocations: 177.1 MB / 205.4 MB, free: 5.469 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.893/1.893, allocations: 389.6 MB / 0.6362 GB, free: 12.34 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 2.354e-06/2.354e-06, allocations: 0 / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.897e-05, allocations: 5.547 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1373/0.1373, allocations: 151.3 MB / 0.9238 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.1427, allocations: 4.154 MB / 0.9278 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.1432, allocations: 51.56 kB / 0.9279 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.1438, allocations: 289.9 kB / 0.9282 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.1457, allocations: 1.27 MB / 0.9294 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1469, allocations: 0.7791 MB / 0.9302 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.1489, allocations: 2.54 MB / 0.9326 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.1501, allocations: 0.8832 MB / 0.9335 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1518, allocations: 1.519 MB / 0.935 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.1525, allocations: 0.7985 MB / 0.9358 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.1526, allocations: 104 kB / 0.9359 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.1534, allocations: 439.1 kB / 0.9363 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.1537, allocations: 0.5415 MB / 0.9368 GB, free: 376 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.154, allocations: 455.1 kB / 0.9373 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0009208/0.1549, allocations: 1.211 MB / 0.9384 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1549, allocations: 4 kB / 0.9384 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1549, allocations: 0 / 0.9384 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.1549, allocations: 0 / 0.9384 GB, free: 14.7 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.001024/0.156, allocations: 1.316 MB / 0.9397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.064e-05/0.156, allocations: 9.344 kB / 0.9397 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.1566, allocations: 311.9 kB / 0.94 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.1572, allocations: 0.6129 MB / 0.9406 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.1573, allocations: 73.98 kB / 0.9407 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.1574, allocations: 99.95 kB / 0.9408 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.158, allocations: 0.8713 MB / 0.9416 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.158, allocations: 3.938 kB / 0.9416 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.158, allocations: 40 kB / 0.9417 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1581, allocations: 34 kB / 0.9417 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.1584, allocations: 318 kB / 0.942 GB, free: 10.86 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.002493/0.1609, allocations: 3.398 MB / 0.9453 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1612, allocations: 285.2 kB / 0.9456 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1613, allocations: 109.7 kB / 0.9457 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.1614, allocations: 56.44 kB / 0.9458 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1614, allocations: 39.06 kB / 0.9458 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 1.323e-06/0.1614, allocations: 0 / 0.9458 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0004439/0.1619, allocations: 313.9 kB / 0.9461 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.1619, allocations: 59.84 kB / 0.9462 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.1623, allocations: 0.5699 MB / 0.9467 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1623, allocations: 37.7 kB / 0.9468 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1625, allocations: 453 kB / 0.9472 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.1626, allocations: 186.4 kB / 0.9474 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1627, allocations: 134.5 kB / 0.9475 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1628, allocations: 386.6 kB / 0.9479 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.1629, allocations: 76.78 kB / 0.9479 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1632, allocations: 0.6433 MB / 0.9486 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1635, allocations: 468.2 kB / 0.949 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1635, allocations: 7.938 kB / 0.949 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003952/0.1639, allocations: 427.3 kB / 0.9494 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1639, allocations: 9 kB / 0.9494 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1639, allocations: 8 kB / 0.9494 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1639, allocations: 16 kB / 0.9495 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.1642, allocations: 163.7 kB / 0.9496 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1643, allocations: 19.92 kB / 0.9496 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1645, allocations: 75.47 kB / 0.9497 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.1645, allocations: 31.98 kB / 0.9497 GB, free: 2.434 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.0001348/0.1647, allocations: 160.4 kB / 0.9499 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1647, allocations: 63.94 kB / 0.9499 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.165, allocations: 286.7 kB / 0.9502 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.165, allocations: 4 kB / 0.9502 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.165, allocations: 0 / 0.9502 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001615/0.1652, allocations: 196.2 kB / 0.9504 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.166, allocations: 0.9034 MB / 0.9513 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.166, allocations: 8.203 kB / 0.9513 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.1664, allocations: 142.6 kB / 0.9514 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1664, allocations: 4 kB / 0.9514 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1664, allocations: 15.98 kB / 0.9515 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1664, allocations: 4 kB / 0.9515 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1664, allocations: 7.938 kB / 0.9515 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.1668, allocations: 0.5319 MB / 0.952 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1669, allocations: 119.2 kB / 0.9521 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.167, allocations: 12 kB / 0.9521 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1672, allocations: 11.98 kB / 0.9521 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1672, allocations: 35.83 kB / 0.9522 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1672, allocations: 15.98 kB / 0.9522 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001701/0.1674, allocations: 256.6 kB / 0.9524 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1674, allocations: 0 / 0.9524 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004103/0.1678, allocations: 307.3 kB / 0.9527 GB, free: 15.25 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.0002616/0.1681, allocations: 166.4 kB / 0.9529 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1683, allocations: 294 kB / 0.9532 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.1684, allocations: 8.5 kB / 0.9532 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1685, allocations: 133.3 kB / 0.9533 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.1692, allocations: 394.5 kB / 0.9537 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1707, allocations: 1.559 MB / 0.9552 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.1709, allocations: 235.1 kB / 0.9554 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.1712, allocations: 126.5 kB / 0.9555 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.1717, allocations: 321.1 kB / 0.9558 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.1717, allocations: 4 kB / 0.9558 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.01653/0.1882, allocations: 15.3 MB / 0.9708 GB, free: 13.03 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.393227107822895]