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.001397/0.001397, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001525/0.001525, allocations: 216 kB / 23.01 MB, free: 4.566 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002567/0.002567, allocations: 276.5 kB / 313.5 MB, free: 2.812 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.238/1.238, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.002883/0.002883, allocations: 101.8 kB / 0.7409 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2121, allocations: 95.39 MB / 0.834 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003701/0.2158, allocations: 2.128 MB / 0.8361 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.217, allocations: 0.6117 MB / 0.8367 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2171, allocations: 4 kB / 0.8367 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2172, allocations: 19.73 kB / 0.8367 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2173, allocations: 39.59 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.2176, allocations: 91.88 kB / 0.8368 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.218, allocations: 267.3 kB / 0.8371 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.2182, allocations: 87.53 kB / 0.8372 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2183, allocations: 107.7 kB / 0.8373 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.2185, allocations: 127.4 kB / 0.8374 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.2185, allocations: 24 kB / 0.8374 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.2186, allocations: 28 kB / 0.8374 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.2187, allocations: 55.83 kB / 0.8375 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2188, allocations: 115.4 kB / 0.8376 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.2191, allocations: 278.8 kB / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2191, allocations: 0 / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2191, allocations: 0 / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2191, allocations: 4 kB / 0.8379 GB, free: 4.145 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.001154/0.2203, allocations: 0.5771 MB / 0.8384 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2203, allocations: 8.75 kB / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.2204, allocations: 28.8 kB / 0.8385 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.2207, allocations: 194.7 kB / 0.8387 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.2208, allocations: 12.75 kB / 0.8387 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.2208, allocations: 28.36 kB / 0.8387 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.2214, allocations: 271.6 kB / 0.839 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2214, allocations: 4 kB / 0.839 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2215, allocations: 11.94 kB / 0.839 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2215, allocations: 8 kB / 0.839 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.2221, allocations: 187.8 kB / 0.8392 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2232, allocations: 0.5849 MB / 0.8397 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.224, allocations: 214.5 kB / 0.8399 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.2243, allocations: 84.78 kB / 0.84 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2243, allocations: 4 kB / 0.84 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.2248, allocations: 196.7 kB / 0.8402 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.2248, allocations: 0 / 0.8402 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001048/0.2259, allocations: 331.2 kB / 0.8405 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.226, allocations: 114.8 kB / 0.8406 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.2261, allocations: 199.1 kB / 0.8408 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2262, allocations: 37.7 kB / 0.8409 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2263, allocations: 156.3 kB / 0.841 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.2264, allocations: 55.62 kB / 0.8411 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2265, allocations: 65.69 kB / 0.8411 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2266, allocations: 330.8 kB / 0.8414 GB, free: 284 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.227, allocations: 112.2 kB / 0.8415 GB, free: 168 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.2274, allocations: 179.3 kB / 0.8417 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.2281, allocations: 303.7 kB / 0.842 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2281, allocations: 4 kB / 0.842 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009028/0.229, allocations: 421.3 kB / 0.8424 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.2291, allocations: 89.09 kB / 0.8425 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2291, allocations: 4 kB / 0.8425 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2291, allocations: 3.938 kB / 0.8425 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2293, allocations: 52.05 kB / 0.8426 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2293, allocations: 4 kB / 0.8426 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.2296, allocations: 63.78 kB / 0.8426 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2296, allocations: 12 kB / 0.8426 GB, free: 14.95 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.0001583/0.2298, allocations: 140.4 kB / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2298, allocations: 19.91 kB / 0.8428 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/0.2306, allocations: 271.1 kB / 0.843 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.2306, allocations: 7.938 kB / 0.8431 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2306, allocations: 0 / 0.8431 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2306, allocations: 0 / 0.8431 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2316, allocations: 0.5501 MB / 0.8436 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2316, allocations: 0 / 0.8436 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2318, allocations: 39.83 kB / 0.8436 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2318, allocations: 0 / 0.8436 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.2318, allocations: 15.98 kB / 0.8436 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2318, allocations: 0 / 0.8436 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2318, allocations: 3.938 kB / 0.8436 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.2325, allocations: 335.3 kB / 0.844 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2326, allocations: 27.73 kB / 0.844 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.2326, allocations: 4 kB / 0.844 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2329, allocations: 43.94 kB / 0.844 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.233, allocations: 47.83 kB / 0.8441 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.233, allocations: 7.984 kB / 0.8441 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001248/0.2332, allocations: 142.9 kB / 0.8442 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2332, allocations: 4 kB / 0.8442 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003098/0.2335, allocations: 55.94 kB / 0.8443 GB, free: 13.18 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.0001536/0.2336, allocations: 115.2 kB / 0.8444 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000887/0.2345, allocations: 408.5 kB / 0.8448 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2345, allocations: 0 / 0.8448 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.2348, allocations: 99.86 kB / 0.8449 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.2352, allocations: 42.06 kB / 0.8449 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.2361, allocations: 393.7 kB / 0.8453 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.2365, allocations: 0.7359 MB / 0.846 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.2366, allocations: 23.42 kB / 0.846 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.2366, allocations: 0 / 0.846 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.005282/0.2418, allocations: 2.889 MB / 0.8489 GB, free: 8.41 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.767885307082906] Failed to read output from testmodel.py, exit status != 0: 0.24997478490695357 0.26548034600000003 0.043334379 Calling exit ...