Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108.2 kB / 18.88 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 196.7 kB / 22.17 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7974/0.7974, allocations: 129.2 MB / 435.3 MB, free: 5.727 MB / 334.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 69.89 kB / 0.6029 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1607, allocations: 83.44 MB / 0.6844 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003935/0.1647, allocations: 2.106 MB / 0.6864 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.166, allocations: 0.5766 MB / 0.687 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.1662, allocations: 4 kB / 0.687 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1664, allocations: 23.67 kB / 0.687 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1666, allocations: 39.66 kB / 0.6871 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.167, allocations: 91.88 kB / 0.6872 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.1674, allocations: 267.3 kB / 0.6874 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.1677, allocations: 87.16 kB / 0.6875 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1679, allocations: 107.6 kB / 0.6876 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1681, allocations: 123.4 kB / 0.6877 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.1681, allocations: 28 kB / 0.6877 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.1682, allocations: 28 kB / 0.6878 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.1683, allocations: 55.81 kB / 0.6878 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1684, allocations: 111.5 kB / 0.6879 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1688, allocations: 282.8 kB / 0.6882 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1688, allocations: 0 / 0.6882 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1688, allocations: 0 / 0.6882 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.1688, allocations: 0 / 0.6882 GB, free: 13.87 MB / 0.5137 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.001302/0.1701, allocations: 0.6447 MB / 0.6888 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1702, allocations: 12.62 kB / 0.6888 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.1703, allocations: 59.16 kB / 0.6889 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.1704, allocations: 28.75 kB / 0.6889 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1708, allocations: 248.6 kB / 0.6892 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1708, allocations: 24.31 kB / 0.6892 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1708, allocations: 20 kB / 0.6892 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.1715, allocations: 282.5 kB / 0.6895 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1715, allocations: 0 / 0.6895 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.1715, allocations: 8 kB / 0.6895 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1715, allocations: 4 kB / 0.6895 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.1721, allocations: 197.6 kB / 0.6897 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1733, allocations: 0.6272 MB / 0.6903 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.1741, allocations: 222.4 kB / 0.6905 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1744, allocations: 84.78 kB / 0.6906 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1744, allocations: 7.938 kB / 0.6906 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.1749, allocations: 183.2 kB / 0.6908 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/0.1749, allocations: 0 / 0.6908 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001032/0.1759, allocations: 335.6 kB / 0.6911 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.176, allocations: 110.8 kB / 0.6912 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1762, allocations: 210.9 kB / 0.6914 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.1763, allocations: 33.7 kB / 0.6914 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1764, allocations: 160.3 kB / 0.6916 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1764, allocations: 51.62 kB / 0.6916 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1765, allocations: 69.62 kB / 0.6917 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1767, allocations: 334.8 kB / 0.692 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.177, allocations: 108.2 kB / 0.6921 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1774, allocations: 171.3 kB / 0.6923 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.1781, allocations: 312.6 kB / 0.6926 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1781, allocations: 4 kB / 0.6926 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009024/0.179, allocations: 412.9 kB / 0.693 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.1791, allocations: 97.09 kB / 0.6931 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1791, allocations: 4.156 kB / 0.6931 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1791, allocations: 4 kB / 0.6931 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1793, allocations: 39.95 kB / 0.6931 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1793, allocations: 7.938 kB / 0.6931 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1796, allocations: 67.72 kB / 0.6932 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1796, allocations: 8 kB / 0.6932 GB, free: 8.387 MB / 0.5137 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.0001681/0.1798, allocations: 148 kB / 0.6933 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.1799, allocations: 19.84 kB / 0.6933 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/0.1806, allocations: 255.3 kB / 0.6936 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1806, allocations: 8 kB / 0.6936 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1806, allocations: 0 / 0.6936 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1806, allocations: 3.984 kB / 0.6936 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.1816, allocations: 0.5821 MB / 0.6942 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1816, allocations: 3.938 kB / 0.6942 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1818, allocations: 31.97 kB / 0.6942 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1818, allocations: 4 kB / 0.6942 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1818, allocations: 3.984 kB / 0.6942 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1818, allocations: 0 / 0.6942 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1818, allocations: 7.938 kB / 0.6942 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.1825, allocations: 347.1 kB / 0.6945 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.1826, allocations: 101 kB / 0.6946 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.1827, allocations: 7.984 kB / 0.6947 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.183, allocations: 39.95 kB / 0.6947 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1831, allocations: 43.94 kB / 0.6947 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.1831, allocations: 11.98 kB / 0.6947 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001331/0.1832, allocations: 136.5 kB / 0.6949 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 4 kB / 0.6949 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003167/0.1836, allocations: 55.88 kB / 0.6949 GB, free: 6.492 MB / 0.5137 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.001432/0.185, allocations: 0.9991 MB / 0.6959 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008657/0.1859, allocations: 411.9 kB / 0.6963 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1859, allocations: 0 / 0.6963 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1862, allocations: 103.9 kB / 0.6964 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1866, allocations: 40.27 kB / 0.6964 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.1907, allocations: 2.595 MB / 0.699 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1911, allocations: 0.7359 MB / 0.6997 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.1913, allocations: 21.55 kB / 0.6997 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.1914, allocations: 67.41 kB / 0.6998 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/0.1914, allocations: 0 / 0.6998 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.2212, allocations: 5.265 MB / 0.7049 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.09, allocations: 1.844 kB / 0.7049 GB, free: 12.17 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.578082497231662] Failed to read output from testmodel.py, exit status != 0: 8.16338756820187 8.190553964 8.017098488 Calling exit ...