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.0008572/0.0008572, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008576/0.0008576, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8627/0.8627, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001444/0.001444, allocations: 226.1 kB / 260.2 MB, free: 13.04 MB / 250.7 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 0.6811/0.6811, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6476 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.383e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.248/0.248, allocations: 2.044 MB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.2489, allocations: 0.5676 MB / 0.6501 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.249, allocations: 7.562 kB / 0.6501 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2491, allocations: 24.53 kB / 0.6502 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.2492, allocations: 43.3 kB / 0.6502 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.2494, allocations: 87.19 kB / 0.6503 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.2497, allocations: 264.3 kB / 0.6505 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.2499, allocations: 90.77 kB / 0.6506 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.25, allocations: 158.2 kB / 0.6508 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2501, allocations: 92.89 kB / 0.6509 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.2502, allocations: 28.09 kB / 0.6509 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.2502, allocations: 26.56 kB / 0.6509 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.2502, allocations: 53.88 kB / 0.651 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.2503, allocations: 80.11 kB / 0.651 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.2506, allocations: 297.7 kB / 0.6513 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2506, allocations: 0.5156 kB / 0.6513 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2506, allocations: 1.062 kB / 0.6513 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.2506, allocations: 1.562 kB / 0.6513 GB, free: 55.83 MB / 0.5573 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.0006687/0.2513, allocations: 0.5793 MB / 0.6519 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2513, allocations: 10.88 kB / 0.6519 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.2514, allocations: 27.73 kB / 0.6519 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2516, allocations: 189.5 kB / 0.6521 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2517, allocations: 19.47 kB / 0.6521 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.2517, allocations: 20.53 kB / 0.6522 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.252, allocations: 322.9 kB / 0.6525 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2521, allocations: 192 / 0.6525 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.2521, allocations: 16.92 kB / 0.6525 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2521, allocations: 5.781 kB / 0.6525 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.2524, allocations: 194.8 kB / 0.6527 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.2531, allocations: 500 kB / 0.6531 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.2535, allocations: 215.8 kB / 0.6534 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2537, allocations: 83.59 kB / 0.6534 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2537, allocations: 3.312 kB / 0.6534 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.254, allocations: 193.3 kB / 0.6536 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.254, allocations: 0 / 0.6536 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.000591/0.2546, allocations: 324.7 kB / 0.6539 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2546, allocations: 110.7 kB / 0.654 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2547, allocations: 210.5 kB / 0.6542 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2547, allocations: 39.61 kB / 0.6543 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2548, allocations: 159.9 kB / 0.6544 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2548, allocations: 45.12 kB / 0.6545 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/0.2549, allocations: 66.12 kB / 0.6545 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.2549, allocations: 336.4 kB / 0.6549 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2552, allocations: 191.2 kB / 0.655 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2554, allocations: 316.6 kB / 0.6553 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.2557, allocations: 312.3 kB / 0.6556 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2557, allocations: 1.562 kB / 0.6556 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004854/0.2562, allocations: 0.4942 MB / 0.6561 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.2562, allocations: 91.78 kB / 0.6562 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2563, allocations: 0 / 0.6562 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2563, allocations: 3.719 kB / 0.6562 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2564, allocations: 49.56 kB / 0.6563 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2564, allocations: 3.406 kB / 0.6563 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.2565, allocations: 68.16 kB / 0.6563 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2565, allocations: 12.31 kB / 0.6563 GB, free: 52.52 MB / 0.5573 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 8.305e-05/0.2566, allocations: 147.8 kB / 0.6565 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.2566, allocations: 21.66 kB / 0.6565 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.257, allocations: 259.2 kB / 0.6567 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.257, allocations: 1.906 kB / 0.6568 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.257, allocations: 5.656 kB / 0.6568 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.257, allocations: 2.859 kB / 0.6568 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.2575, allocations: 0.4922 MB / 0.6572 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2575, allocations: 2.531 kB / 0.6572 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.2576, allocations: 32.36 kB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2576, allocations: 1.781 kB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2576, allocations: 4.469 kB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2576, allocations: 0 / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2576, allocations: 5.75 kB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.258, allocations: 352.9 kB / 0.6576 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.258, allocations: 19.17 kB / 0.6576 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.258, allocations: 10.45 kB / 0.6576 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2581, allocations: 49.08 kB / 0.6577 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.2582, allocations: 44.47 kB / 0.6577 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2582, allocations: 11.47 kB / 0.6577 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.2583, allocations: 136.2 kB / 0.6579 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2583, allocations: 1.906 kB / 0.6579 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001886/0.2585, allocations: 58.2 kB / 0.6579 GB, free: 51.62 MB / 0.5573 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 9.27e-05/0.2586, allocations: 117.2 kB / 0.658 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.259, allocations: 493.2 kB / 0.6585 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.259, allocations: 0 / 0.6585 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2592, allocations: 105.8 kB / 0.6586 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2595, allocations: 36.53 kB / 0.6587 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.2599, allocations: 391.6 kB / 0.659 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.129e-05/0.26, allocations: 132.9 kB / 0.6592 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.2601, allocations: 23.06 kB / 0.6592 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2601, allocations: 0 / 0.6592 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.003351/0.2634, allocations: 2.95 MB / 0.6621 GB, free: 50.61 MB / 0.5573 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: 5.3462130930274725] Failed to read output from testmodel.py, exit status != 0: 0.26833965070545673 0.274719045 0.022460886000000003 Calling exit ...