Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001894/0.001894, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002505/0.002505, allocations: 214.6 kB / 22.25 MB, free: 5.078 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.002627/0.002627, allocations: 285.9 kB / 312.7 MB, free: 2.84 MB / 238.1 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 1.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 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.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 103.5 kB / 0.7401 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1743, allocations: 95.38 MB / 0.8333 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003502/0.1778, allocations: 2.117 MB / 0.8353 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1789, allocations: 0.6194 MB / 0.8359 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.756e-05/0.179, allocations: 0 / 0.8359 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1791, allocations: 27.66 kB / 0.836 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.1792, allocations: 43.66 kB / 0.836 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1795, allocations: 83.83 kB / 0.8361 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.1798, allocations: 263.4 kB / 0.8363 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.18, allocations: 83.55 kB / 0.8364 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1802, allocations: 115.6 kB / 0.8365 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1804, allocations: 123.5 kB / 0.8366 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.1804, allocations: 31.98 kB / 0.8367 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.1805, allocations: 28 kB / 0.8367 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1805, allocations: 47.84 kB / 0.8367 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1807, allocations: 115.5 kB / 0.8369 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.181, allocations: 282.8 kB / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.181, allocations: 0 / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.181, allocations: 0 / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.181, allocations: 0 / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001145/0.1822, allocations: 0.5771 MB / 0.8377 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1822, allocations: 12.75 kB / 0.8377 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1823, allocations: 28.78 kB / 0.8377 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1826, allocations: 194.6 kB / 0.8379 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1826, allocations: 16.75 kB / 0.8379 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.1827, allocations: 20.38 kB / 0.8379 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.1833, allocations: 271.7 kB / 0.8382 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1833, allocations: 0 / 0.8382 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1833, allocations: 12 kB / 0.8382 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1833, allocations: 4 kB / 0.8382 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.184, allocations: 203.8 kB / 0.8384 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1851, allocations: 0.5732 MB / 0.839 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.186, allocations: 214.5 kB / 0.8392 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1863, allocations: 92.78 kB / 0.8393 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1863, allocations: 3.984 kB / 0.8393 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.1868, allocations: 184.9 kB / 0.8394 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1868, allocations: 4 kB / 0.8395 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.00107/0.1879, allocations: 337.1 kB / 0.8398 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.1879, allocations: 106.8 kB / 0.8399 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1881, allocations: 203.1 kB / 0.8401 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1882, allocations: 45.7 kB / 0.8401 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1883, allocations: 160.3 kB / 0.8403 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.1884, allocations: 51.62 kB / 0.8403 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1885, allocations: 61.69 kB / 0.8404 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1886, allocations: 326.8 kB / 0.8407 GB, free: 328 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.189, allocations: 112.2 kB / 0.8408 GB, free: 212 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.1894, allocations: 179.2 kB / 0.841 GB, free: 8 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.1901, allocations: 304.8 kB / 0.8413 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1901, allocations: 7.984 kB / 0.8413 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009376/0.1911, allocations: 418.5 kB / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.1911, allocations: 91.28 kB / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1912, allocations: 4.141 kB / 0.8418 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1912, allocations: 11.94 kB / 0.8418 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.1914, allocations: 47.89 kB / 0.8418 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1914, allocations: 4 kB / 0.8418 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.1917, allocations: 59.78 kB / 0.8419 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1917, allocations: 8 kB / 0.8419 GB, free: 15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001593/0.1919, allocations: 156.4 kB / 0.842 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1919, allocations: 19.89 kB / 0.842 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.1927, allocations: 263.1 kB / 0.8423 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1927, allocations: 7.938 kB / 0.8423 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1927, allocations: 0 / 0.8423 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1927, allocations: 0 / 0.8423 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1937, allocations: 0.5519 MB / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1937, allocations: 0 / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1939, allocations: 31.91 kB / 0.8429 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1939, allocations: 4 kB / 0.8429 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1939, allocations: 3.984 kB / 0.8429 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1939, allocations: 0 / 0.8429 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1939, allocations: 0 / 0.8429 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.1947, allocations: 349.4 kB / 0.8432 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1947, allocations: 23.73 kB / 0.8432 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.1947, allocations: 15.98 kB / 0.8433 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.195, allocations: 39.94 kB / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1951, allocations: 47.84 kB / 0.8433 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1952, allocations: 11.98 kB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001272/0.1953, allocations: 143 kB / 0.8435 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1953, allocations: 3.938 kB / 0.8435 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003112/0.1956, allocations: 51.95 kB / 0.8435 GB, free: 13.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001273/0.1957, allocations: 110.5 kB / 0.8436 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008948/0.1966, allocations: 413.9 kB / 0.844 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1966, allocations: 0 / 0.844 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.197, allocations: 109.9 kB / 0.8441 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1974, allocations: 36.02 kB / 0.8442 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.1982, allocations: 364 kB / 0.8445 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1985, allocations: 0.7398 MB / 0.8452 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.702e-05/0.1986, allocations: 17.64 kB / 0.8453 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1987, allocations: 19.44 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1987, allocations: 0 / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.007288/0.206, allocations: 3.351 MB / 0.8486 GB, free: 8.035 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.275988194858655] Failed to read output from testmodel.py, exit status != 0: 0.21333061694167554 0.228247641 0.044241081 Calling exit ...