Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.002666/0.002666, allocations: 80.52 kB / 19.95 MB, free: 4.598 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.003283/0.003283, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.618/1.618, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 3.107/3.107, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.097e-05, allocations: 6.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004072/0.004103, allocations: 2.17 MB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.00687, allocations: 1.36 MB / 1.005 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.007047, allocations: 7.938 kB / 1.005 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.007608, allocations: 175.1 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.008209, allocations: 234.8 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.008657, allocations: 179.5 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.009251, allocations: 442.7 kB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.009458, allocations: 65.47 kB / 1.006 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.009826, allocations: 235.4 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.01011, allocations: 163.5 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.01017, allocations: 24 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.01037, allocations: 79.91 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.01054, allocations: 119.6 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.01069, allocations: 107.6 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.01141, allocations: 0.4983 MB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01142, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01142, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.01142, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00153/0.01295, allocations: 0.6516 MB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.013, allocations: 13.34 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.0131, allocations: 44.66 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.01373, allocations: 364 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01375, allocations: 8.375 kB / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.01379, allocations: 16.38 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.0142, allocations: 210.1 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.01421, allocations: 0 / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.01423, allocations: 4 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01424, allocations: 4 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.01448, allocations: 95.88 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.0157, allocations: 0.6838 MB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.01608, allocations: 137.4 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.0162, allocations: 45.7 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.01622, allocations: 0 / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.01652, allocations: 141 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.01652, allocations: 0 / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0006274/0.01715, allocations: 229.7 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.01725, allocations: 102.8 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.01806, allocations: 0.5799 MB / 1.01 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.0181, allocations: 33.7 kB / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.01831, allocations: 204.5 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.01836, allocations: 43.66 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.01848, allocations: 69.69 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.0187, allocations: 358.8 kB / 1.011 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.01892, allocations: 116 kB / 1.011 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.01926, allocations: 244.5 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.01963, allocations: 199.2 kB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01963, allocations: 0 / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006617/0.02029, allocations: 363.8 kB / 1.012 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.02031, allocations: 4 kB / 1.012 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02031, allocations: 0 / 1.012 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.02033, allocations: 4 kB / 1.012 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.02054, allocations: 47.91 kB / 1.012 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.02055, allocations: 4 kB / 1.012 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.02078, allocations: 39.97 kB / 1.012 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.02081, allocations: 15.92 kB / 1.012 GB, free: 1.895 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002644/0.02108, allocations: 199.8 kB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.02115, allocations: 47.66 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.02161, allocations: 213 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.02162, allocations: 0 / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.02162, allocations: 0 / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02163, allocations: 0 / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.02197, allocations: 249.1 kB / 1.012 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.02197, allocations: 4 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.02202, allocations: 8 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02203, allocations: 3.938 kB / 1.012 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.02205, allocations: 15.98 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02205, allocations: 0 / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02205, allocations: 0 / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.02248, allocations: 225.6 kB / 1.013 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.02257, allocations: 47.7 kB / 1.013 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.02262, allocations: 11.94 kB / 1.013 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.02275, allocations: 15.97 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.02285, allocations: 19.97 kB / 1.013 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.02287, allocations: 11.98 kB / 1.013 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004628/0.02333, allocations: 359.1 kB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02333, allocations: 0 / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003335/0.02366, allocations: 71.89 kB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002825/0.02649, allocations: 452.1 kB / 1.014 GB, free: 96 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.02704, allocations: 199.9 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02704, allocations: 0 / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.0272, allocations: 68.09 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.02777, allocations: 107.6 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.02919, allocations: 0.6337 MB / 1.015 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.02943, allocations: 208.5 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.0296, allocations: 58.88 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.0297, allocations: 40.48 kB / 1.015 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of SimCode: time 8.81e-07/0.0297, allocations: 3.938 kB / 1.015 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of Templates: time 0.01145/0.04116, allocations: 5.042 MB / 1.02 GB, free: 9.781 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.081930168904364]