Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008708/0.0008708, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009471/0.0009471, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8787/0.8787, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001422/0.001422, allocations: 225.2 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.637/0.637, allocations: 138.4 MB / 455.1 MB, free: 1.609 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6476 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.74e-05, allocations: 4.953 kB / 0.6476 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.1305/0.1305, allocations: 172.5 MB / 0.816 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1414, allocations: 13.1 MB / 0.8288 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.1422, allocations: 51.62 kB / 0.8288 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1433, allocations: 0.5044 MB / 0.8293 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.1464, allocations: 1.982 MB / 0.8312 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1479, allocations: 0.9385 MB / 0.8322 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.1498, allocations: 2.633 MB / 0.8347 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.1505, allocations: 0.7912 MB / 0.8355 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.1532, allocations: 1.985 MB / 0.8374 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.1543, allocations: 0.8827 MB / 0.8383 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1544, allocations: 108 kB / 0.8384 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1557, allocations: 0.9464 MB / 0.8393 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.156, allocations: 0.5337 MB / 0.8399 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1564, allocations: 459 kB / 0.8403 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.1579, allocations: 1.94 MB / 0.8422 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1579, allocations: 4 kB / 0.8422 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1579, allocations: 0 / 0.8422 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.158, allocations: 0 / 0.8422 GB, free: 9.113 MB / 0.6823 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.001343/0.1593, allocations: 1.395 MB / 0.8436 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1593, allocations: 12.75 kB / 0.8436 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.1601, allocations: 263 kB / 0.8438 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.1609, allocations: 0.7246 MB / 0.8445 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.1609, allocations: 66 kB / 0.8446 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.161, allocations: 99.88 kB / 0.8447 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1622, allocations: 1.298 MB / 0.8459 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1622, allocations: 3.953 kB / 0.846 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1623, allocations: 40 kB / 0.846 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.1623, allocations: 30 kB / 0.846 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.1632, allocations: 0.9092 MB / 0.8469 GB, free: 4.117 MB / 0.6823 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.002918/0.1661, allocations: 3.986 MB / 0.8508 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.1667, allocations: 0.5204 MB / 0.8513 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.167, allocations: 302.7 kB / 0.8516 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/0.1673, allocations: 76.42 kB / 0.8517 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1674, allocations: 43.05 kB / 0.8517 GB, free: 15.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.1674, allocations: 3.938 kB / 0.8517 GB, free: 15.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.0009129/0.1683, allocations: 0.7933 MB / 0.8525 GB, free: 14.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1683, allocations: 63.84 kB / 0.8526 GB, free: 14.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.1688, allocations: 0.6605 MB / 0.8532 GB, free: 13.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1688, allocations: 37.7 kB / 0.8532 GB, free: 13.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.1691, allocations: 0.5116 MB / 0.8537 GB, free: 12.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1692, allocations: 182.4 kB / 0.8539 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1693, allocations: 138.6 kB / 0.854 GB, free: 12.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1694, allocations: 386.8 kB / 0.8544 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1696, allocations: 245.8 kB / 0.8546 GB, free: 12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.1701, allocations: 0.8308 MB / 0.8555 GB, free: 10.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.1707, allocations: 0.8005 MB / 0.8562 GB, free: 10.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1707, allocations: 7.938 kB / 0.8562 GB, free: 10.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007585/0.1715, allocations: 0.8448 MB / 0.8571 GB, free: 9.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1715, allocations: 15.92 kB / 0.8571 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1715, allocations: 8 kB / 0.8571 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1715, allocations: 12 kB / 0.8571 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.1718, allocations: 155.8 kB / 0.8572 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1718, allocations: 15.94 kB / 0.8573 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.1721, allocations: 83.48 kB / 0.8573 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.1722, allocations: 32 kB / 0.8574 GB, free: 8.891 MB / 0.698 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.0002626/0.1724, allocations: 337.5 kB / 0.8577 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1725, allocations: 83.48 kB / 0.8578 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.1731, allocations: 0.6108 MB / 0.8584 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1732, allocations: 4 kB / 0.8584 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1732, allocations: 0 / 0.8584 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005985/0.1738, allocations: 0.5187 MB / 0.8589 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1751, allocations: 1.444 MB / 0.8603 GB, free: 5.801 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1751, allocations: 4 kB / 0.8603 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.1754, allocations: 107.8 kB / 0.8604 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1754, allocations: 4 kB / 0.8604 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1754, allocations: 19.98 kB / 0.8604 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1754, allocations: 4 kB / 0.8604 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1754, allocations: 7.922 kB / 0.8604 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000834/0.1762, allocations: 1.014 MB / 0.8614 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1764, allocations: 147.3 kB / 0.8616 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.1765, allocations: 12 kB / 0.8616 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1767, allocations: 19.98 kB / 0.8616 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1767, allocations: 43.81 kB / 0.8616 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.1767, allocations: 16 kB / 0.8617 GB, free: 4.375 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003234/0.1771, allocations: 443 kB / 0.8621 GB, free: 3.949 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.1771, allocations: 4 kB / 0.8621 GB, free: 3.945 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005517/0.1776, allocations: 303.3 kB / 0.8624 GB, free: 3.648 MB / 0.698 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.0003655/0.178, allocations: 203.8 kB / 0.8626 GB, free: 3.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.1786, allocations: 0.5854 MB / 0.8631 GB, free: 2.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1786, allocations: 4 kB / 0.8631 GB, free: 2.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.1788, allocations: 264.3 kB / 0.8634 GB, free: 2.602 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.1798, allocations: 386 kB / 0.8638 GB, free: 2.238 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1818, allocations: 1.908 MB / 0.8656 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.243/0.4248, allocations: 0.5191 MB / 0.8661 GB, free: 216.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.4251, allocations: 79.62 kB / 0.8662 GB, free: 216.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/0.4251, allocations: 0 / 0.8662 GB, free: 216.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01364/0.4387, allocations: 14.38 MB / 0.8802 GB, free: 210.7 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.425922184251249] Failed to read output from testmodel.py, exit status != 0: 0.4441129034385085 0.450897194 0.291577297 Calling exit ...