Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009121/0.0009121, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009522/0.0009522, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9352/0.9352, allocations: 177.1 MB / 205.6 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] 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 1.849/1.849, allocations: 389.6 MB / 0.6364 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7756 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.541e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002581/0.002596, allocations: 2.224 MB / 0.7778 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000902/0.003498, allocations: 0.6169 MB / 0.7784 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003605, allocations: 4.5 kB / 0.7784 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.003724, allocations: 28.77 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.003848, allocations: 47.97 kB / 0.7785 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.004075, allocations: 95.86 kB / 0.7785 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.004313, allocations: 295.2 kB / 0.7788 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.004494, allocations: 94.2 kB / 0.7789 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004663, allocations: 175.6 kB / 0.7791 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.00476, allocations: 95.72 kB / 0.7792 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.004797, allocations: 30.75 kB / 0.7792 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.004824, allocations: 28 kB / 0.7792 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.004871, allocations: 63.75 kB / 0.7793 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.00494, allocations: 83.8 kB / 0.7794 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005146, allocations: 211.2 kB / 0.7796 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005148, allocations: 0 / 0.7796 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005148, allocations: 0 / 0.7796 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.005152, allocations: 1.844 kB / 0.7796 GB, free: 1.855 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005999/0.005752, allocations: 0.553 MB / 0.7801 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.005781, allocations: 9.688 kB / 0.7801 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.005833, allocations: 36.91 kB / 0.7802 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.006081, allocations: 178.7 kB / 0.7803 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.006103, allocations: 24.86 kB / 0.7804 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.006131, allocations: 21.25 kB / 0.7804 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.006401, allocations: 285.6 kB / 0.7806 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006409, allocations: 192 / 0.7806 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.006427, allocations: 16.38 kB / 0.7807 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006434, allocations: 7.938 kB / 0.7807 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.00651, allocations: 48.12 kB / 0.7807 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.007026, allocations: 388.6 kB / 0.7811 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.007139, allocations: 78.53 kB / 0.7812 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.007173, allocations: 24.84 kB / 0.7812 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.00719, allocations: 4.812 kB / 0.7812 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.007349, allocations: 128.1 kB / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.007351, allocations: 0.875 kB / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000178/0.007529, allocations: 127 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.007575, allocations: 111.7 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007696, allocations: 218.4 kB / 0.7817 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.007721, allocations: 33.7 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.007796, allocations: 149.1 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.00783, allocations: 59.55 kB / 0.782 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.007901, allocations: 74.45 kB / 0.782 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.007982, allocations: 340.5 kB / 0.7824 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.008056, allocations: 113.4 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.008168, allocations: 233.6 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.008308, allocations: 205.4 kB / 0.7829 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.00831, allocations: 0 / 0.7829 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002129/0.008523, allocations: 326.3 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.008565, allocations: 93.09 kB / 0.7833 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.00857, allocations: 0 / 0.7833 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.00858, allocations: 4.938 kB / 0.7833 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.008709, allocations: 47.91 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008715, allocations: 8.922 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.008839, allocations: 52.91 kB / 0.7834 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.008853, allocations: 8 kB / 0.7834 GB, free: 13.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,ySetOn.y,$PRE.ySetOn.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,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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.000248/0.009101, allocations: 146.6 kB / 0.7836 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.009124, allocations: 23.98 kB / 0.7836 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.009265, allocations: 115.4 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.009269, allocations: 7.984 kB / 0.7837 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.009271, allocations: 0 / 0.7837 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.009275, allocations: 5.047 kB / 0.7837 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.00953, allocations: 308.6 kB / 0.784 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.009531, allocations: 1.031 kB / 0.784 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.009589, allocations: 27.91 kB / 0.784 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009591, allocations: 0 / 0.784 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.009604, allocations: 13.73 kB / 0.784 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009605, allocations: 0 / 0.784 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.009607, allocations: 4 kB / 0.784 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.009732, allocations: 205 kB / 0.7842 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.009748, allocations: 20.89 kB / 0.7843 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.009773, allocations: 8 kB / 0.7843 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.009875, allocations: 45.33 kB / 0.7843 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.009949, allocations: 43.92 kB / 0.7843 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.009964, allocations: 7.922 kB / 0.7844 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.01, allocations: 63.25 kB / 0.7844 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01, allocations: 0 / 0.7844 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000179/0.01018, allocations: 59.89 kB / 0.7845 GB, free: 12.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 7.522e-05/0.01026, allocations: 90.08 kB / 0.7846 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.01049, allocations: 374.4 kB / 0.7849 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.0105, allocations: 1.156 kB / 0.7849 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.01057, allocations: 56.77 kB / 0.785 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01074, allocations: 41.56 kB / 0.785 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.01133, allocations: 410.2 kB / 0.7854 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.01141, allocations: 137.1 kB / 0.7855 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.01155, allocations: 103.4 kB / 0.7856 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01155, allocations: 0.7188 kB / 0.7856 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.003188/0.01474, allocations: 3.129 MB / 0.7887 GB, free: 8.133 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.532741387374699]