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.0009776/0.0009776, 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.0009622/0.0009622, allocations: 161.4 kB / 24.17 MB, free: 328 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 0.9677/0.9677, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.903/1.903, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.453e-06/1.453e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.091e-05, allocations: 5.266 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1416/0.1416, allocations: 151.3 MB / 0.9229 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005938/0.1475, allocations: 4.16 MB / 0.927 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.1483, allocations: 47.62 kB / 0.927 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008987/0.1492, allocations: 290 kB / 0.9273 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.1512, allocations: 1.278 MB / 0.9285 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.1526, allocations: 0.7831 MB / 0.9293 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.1548, allocations: 2.544 MB / 0.9318 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009385/0.1557, allocations: 0.8009 MB / 0.9326 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.158, allocations: 1.542 MB / 0.9341 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.1589, allocations: 0.7947 MB / 0.9349 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.159, allocations: 104 kB / 0.935 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/0.1596, allocations: 427.1 kB / 0.9354 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.16, allocations: 0.5337 MB / 0.9359 GB, free: 444 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.1603, allocations: 459.1 kB / 0.9363 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1616, allocations: 1.215 MB / 0.9375 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1616, allocations: 0 / 0.9375 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1616, allocations: 0 / 0.9375 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.1616, allocations: 4 kB / 0.9375 GB, free: 14.76 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.00164/0.1632, allocations: 1.312 MB / 0.9388 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1633, allocations: 9.344 kB / 0.9388 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.1641, allocations: 315.9 kB / 0.9391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1652, allocations: 0.6207 MB / 0.9397 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.1652, allocations: 66 kB / 0.9398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1653, allocations: 103.9 kB / 0.9399 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.1662, allocations: 0.8635 MB / 0.9407 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.1662, allocations: 3.938 kB / 0.9407 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.1663, allocations: 40 kB / 0.9408 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.1663, allocations: 33.98 kB / 0.9408 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.1668, allocations: 325.9 kB / 0.9411 GB, free: 10.92 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.00273/0.1695, allocations: 3.387 MB / 0.9444 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1699, allocations: 298.7 kB / 0.9447 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.17, allocations: 105.7 kB / 0.9448 GB, free: 7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.1702, allocations: 60.44 kB / 0.9449 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1702, allocations: 43 kB / 0.9449 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 3.126e-06/0.1702, allocations: 0 / 0.9449 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0005374/0.1708, allocations: 310 kB / 0.9452 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1708, allocations: 59.91 kB / 0.9452 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1712, allocations: 0.5661 MB / 0.9458 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1712, allocations: 37.7 kB / 0.9458 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1714, allocations: 453 kB / 0.9463 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.1715, allocations: 182.4 kB / 0.9464 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1716, allocations: 138.5 kB / 0.9466 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1717, allocations: 386.6 kB / 0.9469 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.1718, allocations: 72.73 kB / 0.947 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.1721, allocations: 0.6472 MB / 0.9476 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.1726, allocations: 468.3 kB / 0.9481 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1726, allocations: 7.938 kB / 0.9481 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004226/0.173, allocations: 432 kB / 0.9485 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.173, allocations: 8 kB / 0.9485 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1731, allocations: 8 kB / 0.9485 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1731, allocations: 12 kB / 0.9485 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.1734, allocations: 151.8 kB / 0.9487 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1735, allocations: 19.92 kB / 0.9487 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.1738, allocations: 75.81 kB / 0.9488 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1738, allocations: 28 kB / 0.9488 GB, free: 2.508 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.0001552/0.1739, allocations: 168.3 kB / 0.949 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.174, allocations: 59.94 kB / 0.949 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.1743, allocations: 286.6 kB / 0.9493 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1743, allocations: 12.03 kB / 0.9493 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1743, allocations: 0 / 0.9493 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000176/0.1745, allocations: 192.3 kB / 0.9495 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.1754, allocations: 0.9187 MB / 0.9504 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1754, allocations: 0 / 0.9504 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.1757, allocations: 103.9 kB / 0.9505 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1757, allocations: 4 kB / 0.9505 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1757, allocations: 12 kB / 0.9505 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.1757, allocations: 7.984 kB / 0.9505 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1757, allocations: 4.219 kB / 0.9505 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.1761, allocations: 0.5293 MB / 0.951 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1763, allocations: 115.3 kB / 0.9511 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.1763, allocations: 12 kB / 0.9511 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1765, allocations: 12 kB / 0.9512 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1766, allocations: 39.81 kB / 0.9512 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1766, allocations: 15.98 kB / 0.9512 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001756/0.1768, allocations: 252.6 kB / 0.9515 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1768, allocations: 0 / 0.9515 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005475/0.1773, allocations: 315.3 kB / 0.9518 GB, free: 15.35 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.0003616/0.1777, allocations: 154.8 kB / 0.9519 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.178, allocations: 300.9 kB / 0.9522 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.178, allocations: 12.44 kB / 0.9522 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1781, allocations: 123.4 kB / 0.9523 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.179, allocations: 401.5 kB / 0.9527 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1807, allocations: 1.55 MB / 0.9542 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.1808, allocations: 243.1 kB / 0.9544 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.1811, allocations: 130.4 kB / 0.9546 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/0.1818, allocations: 317.1 kB / 0.9549 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.1818, allocations: 0 / 0.9549 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of Templates: time 0.01768/0.1995, allocations: 15.21 MB / 0.9697 GB, free: 13.24 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.5165086458437145]