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.001359/0.001359, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001546/0.001546, allocations: 222.6 kB / 23 MB, free: 4.91 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002546/0.002546, allocations: 293.7 kB / 313.5 MB, free: 2.652 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.231/1.231, allocations: 180.6 MB / 0.5377 GB, free: 14.51 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.002955/0.002955, allocations: 105.6 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.2008, allocations: 95.39 MB / 0.8339 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003688/0.2045, allocations: 2.05 MB / 0.8359 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2056, allocations: 0.5805 MB / 0.8365 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2057, allocations: 4 kB / 0.8365 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.2058, allocations: 23.67 kB / 0.8365 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.2059, allocations: 39.64 kB / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.2062, allocations: 91.83 kB / 0.8366 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.2066, allocations: 263.3 kB / 0.8369 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.2068, allocations: 79.55 kB / 0.837 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2069, allocations: 127.5 kB / 0.8371 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2071, allocations: 99.52 kB / 0.8372 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.2072, allocations: 28 kB / 0.8372 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.384e-05/0.2072, allocations: 24 kB / 0.8372 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.2073, allocations: 55.83 kB / 0.8373 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2074, allocations: 95.52 kB / 0.8374 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.2077, allocations: 282.9 kB / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2077, allocations: 0 / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.634e-06/0.2077, allocations: 0 / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.2078, allocations: 3.984 kB / 0.8376 GB, free: 4.008 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.001182/0.2089, allocations: 0.5733 MB / 0.8382 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.209, allocations: 8.75 kB / 0.8382 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.2091, allocations: 28.78 kB / 0.8382 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2094, allocations: 198.7 kB / 0.8384 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.2095, allocations: 16.75 kB / 0.8384 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.2095, allocations: 20.38 kB / 0.8385 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.2102, allocations: 331 kB / 0.8388 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2102, allocations: 0 / 0.8388 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.2102, allocations: 11.98 kB / 0.8388 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2102, allocations: 4 kB / 0.8388 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.2109, allocations: 195.8 kB / 0.839 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.212, allocations: 491.7 kB / 0.8395 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.2128, allocations: 218.5 kB / 0.8397 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.2131, allocations: 88.72 kB / 0.8397 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2131, allocations: 3.938 kB / 0.8398 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.2136, allocations: 195.2 kB / 0.8399 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2136, allocations: 0 / 0.8399 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001098/0.2147, allocations: 323.1 kB / 0.8402 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.2148, allocations: 122.7 kB / 0.8404 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2151, allocations: 207.1 kB / 0.8406 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2151, allocations: 33.7 kB / 0.8406 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2152, allocations: 160.3 kB / 0.8407 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2153, allocations: 43.69 kB / 0.8408 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2154, allocations: 65.64 kB / 0.8409 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2155, allocations: 330.8 kB / 0.8412 GB, free: 192 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.216, allocations: 197.3 kB / 0.8414 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.2165, allocations: 307.8 kB / 0.8416 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.2172, allocations: 315.7 kB / 0.8419 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2172, allocations: 0 / 0.8419 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00101/0.2182, allocations: 0.5024 MB / 0.8424 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.2183, allocations: 89.09 kB / 0.8425 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2183, allocations: 0 / 0.8425 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2183, allocations: 7.938 kB / 0.8425 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2185, allocations: 43.95 kB / 0.8426 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.2185, allocations: 12.03 kB / 0.8426 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.2189, allocations: 67.72 kB / 0.8426 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2189, allocations: 8 kB / 0.8427 GB, free: 14.48 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.00016/0.219, allocations: 144.5 kB / 0.8428 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2191, allocations: 15.91 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.2199, allocations: 279.1 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2199, allocations: 0 / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.2199, allocations: 3.938 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2199, allocations: 0 / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000966/0.2208, allocations: 0.4963 MB / 0.8436 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2208, allocations: 0 / 0.8436 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.221, allocations: 31.97 kB / 0.8436 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.221, allocations: 3.938 kB / 0.8436 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.221, allocations: 11.92 kB / 0.8436 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.221, allocations: 0 / 0.8436 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.221, allocations: 0 / 0.8436 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.2218, allocations: 343.2 kB / 0.8439 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.2218, allocations: 23.83 kB / 0.844 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.2219, allocations: 11.88 kB / 0.844 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.2222, allocations: 43.94 kB / 0.844 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.2223, allocations: 43.94 kB / 0.8441 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2223, allocations: 11.98 kB / 0.8441 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001418/0.2225, allocations: 139 kB / 0.8442 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 0.8442 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002989/0.2228, allocations: 59.89 kB / 0.8443 GB, free: 12.78 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.0001467/0.2229, allocations: 107.2 kB / 0.8444 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009685/0.2239, allocations: 0.4887 MB / 0.8448 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2239, allocations: 4 kB / 0.8448 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.2242, allocations: 99.86 kB / 0.8449 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.2246, allocations: 47.94 kB / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.2255, allocations: 381.8 kB / 0.8453 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2256, allocations: 125.2 kB / 0.8455 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.2257, allocations: 27.42 kB / 0.8455 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2257, allocations: 0 / 0.8455 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.0054/0.2311, allocations: 2.948 MB / 0.8484 GB, free: 8.465 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: 8.64770411979407] Failed to read output from testmodel.py, exit status != 0: 0.23863337421789765 0.25428026600000003 0.043401097 Calling exit ...