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.001438/0.001438, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001558/0.001558, allocations: 177.3 kB / 23.36 MB, free: 1.133 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001755/0.001755, allocations: 233.5 kB / 260.5 MB, free: 12.69 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.7385/0.7385, allocations: 138.4 MB / 402.2 MB, free: 0.5078 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.814e-06/1.814e-06, allocations: 3.938 kB / 462.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.754e-05, allocations: 4.5 kB / 462.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.151/0.1511, allocations: 151.3 MB / 0.5993 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006258/0.1573, allocations: 4.182 MB / 0.6033 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000617/0.1579, allocations: 51.56 kB / 0.6034 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.1586, allocations: 282.1 kB / 0.6037 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1605, allocations: 1.286 MB / 0.6049 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1618, allocations: 0.7935 MB / 0.6057 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.164, allocations: 2.573 MB / 0.6082 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.1653, allocations: 0.9036 MB / 0.6091 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1672, allocations: 1.522 MB / 0.6106 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.1681, allocations: 0.8156 MB / 0.6114 GB, free: 14.74 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1682, allocations: 108 kB / 0.6115 GB, free: 14.64 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.1688, allocations: 439 kB / 0.6119 GB, free: 14.21 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.1692, allocations: 0.5376 MB / 0.6124 GB, free: 13.67 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.1695, allocations: 455 kB / 0.6129 GB, free: 13.22 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1705, allocations: 1.207 MB / 0.614 GB, free: 12.01 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1705, allocations: 0 / 0.614 GB, free: 12.01 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1705, allocations: 0 / 0.614 GB, free: 12.01 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.1705, allocations: 0 / 0.614 GB, free: 12.01 MB / 0.573 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.001193/0.1717, allocations: 1.315 MB / 0.6153 GB, free: 10.67 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1718, allocations: 8.75 kB / 0.6153 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.1725, allocations: 319.8 kB / 0.6156 GB, free: 10.35 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.1732, allocations: 0.6168 MB / 0.6162 GB, free: 9.699 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.1733, allocations: 70 kB / 0.6163 GB, free: 9.633 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.1734, allocations: 99.98 kB / 0.6164 GB, free: 9.535 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.1741, allocations: 0.8678 MB / 0.6172 GB, free: 8.562 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1741, allocations: 0 / 0.6172 GB, free: 8.562 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.1742, allocations: 40.7 kB / 0.6173 GB, free: 8.523 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.1742, allocations: 34 kB / 0.6173 GB, free: 8.492 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.1746, allocations: 321.9 kB / 0.6176 GB, free: 8.172 MB / 0.573 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.002588/0.1772, allocations: 3.395 MB / 0.6209 GB, free: 4.672 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1775, allocations: 288.8 kB / 0.6212 GB, free: 4.383 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1776, allocations: 123.4 kB / 0.6213 GB, free: 4.262 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.1778, allocations: 52.45 kB / 0.6214 GB, free: 4.207 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1779, allocations: 43.05 kB / 0.6214 GB, free: 4.156 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.1779, allocations: 3.938 kB / 0.6214 GB, free: 4.152 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.0005404/0.1784, allocations: 310 kB / 0.6217 GB, free: 3.848 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1784, allocations: 59.91 kB / 0.6218 GB, free: 3.777 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.1788, allocations: 0.5661 MB / 0.6223 GB, free: 3.199 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1789, allocations: 33.7 kB / 0.6224 GB, free: 3.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1791, allocations: 452.9 kB / 0.6228 GB, free: 2.711 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1792, allocations: 186.4 kB / 0.623 GB, free: 2.527 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1793, allocations: 138.5 kB / 0.6231 GB, free: 2.387 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1794, allocations: 386.6 kB / 0.6235 GB, free: 2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1795, allocations: 72.8 kB / 0.6235 GB, free: 1.926 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.1799, allocations: 0.6356 MB / 0.6242 GB, free: 1.094 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1803, allocations: 475.4 kB / 0.6246 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1803, allocations: 7.938 kB / 0.6246 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004393/0.1807, allocations: 428.2 kB / 0.625 GB, free: 96 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1807, allocations: 11.98 kB / 0.625 GB, free: 84 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1807, allocations: 8 kB / 0.625 GB, free: 76 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1808, allocations: 15.94 kB / 0.6251 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.1811, allocations: 159.8 kB / 0.6252 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1811, allocations: 15.94 kB / 0.6252 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.1814, allocations: 77.86 kB / 0.6253 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.1814, allocations: 32.14 kB / 0.6253 GB, free: 15.78 MB / 0.5886 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.0001514/0.1816, allocations: 164.4 kB / 0.6255 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.1817, allocations: 63.94 kB / 0.6256 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.182, allocations: 286.6 kB / 0.6258 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.182, allocations: 4 kB / 0.6258 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.182, allocations: 0 / 0.6258 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001774/0.1822, allocations: 196.3 kB / 0.626 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.1831, allocations: 0.9046 MB / 0.6269 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1831, allocations: 4 kB / 0.6269 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.1834, allocations: 138 kB / 0.627 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1834, allocations: 7.984 kB / 0.627 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1835, allocations: 8.219 kB / 0.6271 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1835, allocations: 11.94 kB / 0.6271 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1835, allocations: 11.88 kB / 0.6271 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.1839, allocations: 0.5211 MB / 0.6276 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.184, allocations: 119.2 kB / 0.6277 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.1841, allocations: 12 kB / 0.6277 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1843, allocations: 18.8 kB / 0.6277 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1843, allocations: 35.88 kB / 0.6278 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1843, allocations: 12 kB / 0.6278 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001725/0.1845, allocations: 256.6 kB / 0.628 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1845, allocations: 4 kB / 0.628 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004509/0.185, allocations: 307.3 kB / 0.6283 GB, free: 12.6 MB / 0.5886 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.0002872/0.1852, allocations: 157.8 kB / 0.6285 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.1856, allocations: 302.4 kB / 0.6288 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/0.1856, allocations: 9.25 kB / 0.6288 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1857, allocations: 126.2 kB / 0.6289 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.1865, allocations: 416.6 kB / 0.6293 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1882, allocations: 1.558 MB / 0.6308 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.1883, allocations: 235.1 kB / 0.631 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003027/0.1886, allocations: 130.2 kB / 0.6312 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.1891, allocations: 329 kB / 0.6315 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.1891, allocations: 0 / 0.6315 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of Templates: time 0.01699/0.2061, allocations: 15.47 MB / 0.6466 GB, free: 10.36 MB / 0.6042 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.171046535950154]