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.001628/0.001628, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00126/0.00126, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.051/2.051, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.573e-06/1.573e-06, allocations: 0 / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.856e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1463/0.1464, allocations: 151.3 MB / 0.923 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006483/0.1529, allocations: 4.152 MB / 0.9271 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.1538, allocations: 51.56 kB / 0.9271 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008681/0.1547, allocations: 289.9 kB / 0.9274 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.1572, allocations: 1.278 MB / 0.9286 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1588, allocations: 0.7753 MB / 0.9294 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.1617, allocations: 2.539 MB / 0.9319 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1632, allocations: 0.881 MB / 0.9327 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.1655, allocations: 1.521 MB / 0.9342 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.1665, allocations: 0.7908 MB / 0.935 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.1667, allocations: 108 kB / 0.9351 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008049/0.1675, allocations: 439 kB / 0.9355 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.1679, allocations: 0.5415 MB / 0.936 GB, free: 328 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.1683, allocations: 455.1 kB / 0.9365 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.17, allocations: 1.211 MB / 0.9377 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.17, allocations: 0 / 0.9377 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.17, allocations: 0 / 0.9377 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.17, allocations: 0 / 0.9377 GB, free: 14.66 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.001431/0.1714, allocations: 1.324 MB / 0.939 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1715, allocations: 9.344 kB / 0.939 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.1724, allocations: 307.9 kB / 0.9393 GB, free: 13 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008075/0.1732, allocations: 0.6129 MB / 0.9399 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.1732, allocations: 70 kB / 0.9399 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.1733, allocations: 104 kB / 0.94 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.174, allocations: 0.8673 MB / 0.9409 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1741, allocations: 4 kB / 0.9409 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.1741, allocations: 36 kB / 0.9409 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.1742, allocations: 37.94 kB / 0.9409 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.1746, allocations: 318 kB / 0.9412 GB, free: 10.82 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.002777/0.1773, allocations: 3.398 MB / 0.9446 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.1778, allocations: 289.2 kB / 0.9448 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1779, allocations: 117.7 kB / 0.945 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.1782, allocations: 56.45 kB / 0.945 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1782, allocations: 39.05 kB / 0.945 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 2.925e-06/0.1782, allocations: 4 kB / 0.945 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0006132/0.1788, allocations: 309.9 kB / 0.9453 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1788, allocations: 55.91 kB / 0.9454 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1792, allocations: 0.5583 MB / 0.9459 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1792, allocations: 41.7 kB / 0.946 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.1794, allocations: 468.9 kB / 0.9464 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.1795, allocations: 178.4 kB / 0.9466 GB, free: 5.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1797, allocations: 134.5 kB / 0.9467 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.1799, allocations: 394.6 kB / 0.9471 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.18, allocations: 68.8 kB / 0.9472 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.1803, allocations: 0.6395 MB / 0.9478 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1807, allocations: 472.2 kB / 0.9482 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1807, allocations: 3.938 kB / 0.9482 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004635/0.1811, allocations: 432.2 kB / 0.9487 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1812, allocations: 8.156 kB / 0.9487 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1812, allocations: 12 kB / 0.9487 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1812, allocations: 12 kB / 0.9487 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.1816, allocations: 167.7 kB / 0.9488 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1816, allocations: 15.94 kB / 0.9489 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.1819, allocations: 75.47 kB / 0.9489 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.182, allocations: 27.98 kB / 0.949 GB, free: 2.387 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.0001811/0.1821, allocations: 164.4 kB / 0.9491 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.1822, allocations: 63.94 kB / 0.9492 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.1826, allocations: 282.7 kB / 0.9494 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1826, allocations: 8 kB / 0.9495 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1826, allocations: 0 / 0.9495 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001887/0.1828, allocations: 200.2 kB / 0.9496 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.184, allocations: 0.9074 MB / 0.9505 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.184, allocations: 0 / 0.9505 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1844, allocations: 146.6 kB / 0.9507 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1844, allocations: 4 kB / 0.9507 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1845, allocations: 8 kB / 0.9507 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1845, allocations: 4 kB / 0.9507 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1845, allocations: 3.938 kB / 0.9507 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.185, allocations: 0.5359 MB / 0.9512 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1851, allocations: 111.3 kB / 0.9513 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1852, allocations: 15.98 kB / 0.9513 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.1854, allocations: 19.94 kB / 0.9514 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1854, allocations: 35.88 kB / 0.9514 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1855, allocations: 12 kB / 0.9514 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001856/0.1856, allocations: 256.5 kB / 0.9516 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1856, allocations: 0 / 0.9516 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00059/0.1862, allocations: 311.3 kB / 0.9519 GB, free: 15.2 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.0003646/0.1866, allocations: 172.2 kB / 0.9521 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.187, allocations: 289.5 kB / 0.9524 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/0.187, allocations: 12.5 kB / 0.9524 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1871, allocations: 127 kB / 0.9525 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/0.188, allocations: 395.4 kB / 0.9529 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1899, allocations: 1.555 MB / 0.9544 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.1901, allocations: 239.1 kB / 0.9546 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003614/0.1904, allocations: 126.5 kB / 0.9548 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.191, allocations: 325.1 kB / 0.9551 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/0.191, allocations: 0 / 0.9551 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.01979/0.2108, allocations: 15.31 MB / 0.97 GB, free: 12.98 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.679685509763658]