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.001226/0.001226, allocations: 110.6 kB / 18.32 MB, free: 3.977 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.001227/0.001227, allocations: 186 kB / 21.5 MB, free: 0.8164 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.316/1.316, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 179] 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.7669/0.7669, allocations: 128.4 MB / 433.6 MB, free: 6.105 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.001839/0.001839, allocations: 67.05 kB / 0.6004 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 83.25 MB / 0.6817 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003415/0.1571, allocations: 2.107 MB / 0.6838 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1581, allocations: 0.5766 MB / 0.6844 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1582, allocations: 7.938 kB / 0.6844 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1584, allocations: 23.73 kB / 0.6844 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.844e-05/0.1585, allocations: 43.59 kB / 0.6844 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1588, allocations: 91.88 kB / 0.6845 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000332/0.1591, allocations: 259.4 kB / 0.6848 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1594, allocations: 91.02 kB / 0.6849 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1596, allocations: 103.7 kB / 0.685 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1597, allocations: 127.4 kB / 0.6851 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.1598, allocations: 28 kB / 0.6851 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.1598, allocations: 28 kB / 0.6851 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1599, allocations: 47.83 kB / 0.6852 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.16, allocations: 119.4 kB / 0.6853 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1603, allocations: 278.9 kB / 0.6856 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1603, allocations: 0 / 0.6856 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1603, allocations: 0 / 0.6856 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1603, allocations: 3.938 kB / 0.6856 GB, free: 15.18 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.001175/0.1615, allocations: 0.6447 MB / 0.6862 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1615, allocations: 8.031 kB / 0.6862 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.364e-05/0.1616, allocations: 59.09 kB / 0.6863 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.1617, allocations: 32.75 kB / 0.6863 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.162, allocations: 252.6 kB / 0.6865 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.162, allocations: 20.38 kB / 0.6865 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.1621, allocations: 20 kB / 0.6866 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.1627, allocations: 274.6 kB / 0.6868 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1627, allocations: 0 / 0.6868 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1627, allocations: 8 kB / 0.6868 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1627, allocations: 4 kB / 0.6868 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.1634, allocations: 197.5 kB / 0.687 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1645, allocations: 0.6272 MB / 0.6876 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.1653, allocations: 220.4 kB / 0.6878 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.1656, allocations: 80.78 kB / 0.6879 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1657, allocations: 15.92 kB / 0.6879 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.1661, allocations: 191.1 kB / 0.6881 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1661, allocations: 0 / 0.6881 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001042/0.1672, allocations: 324.1 kB / 0.6884 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.1673, allocations: 114.8 kB / 0.6885 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1675, allocations: 206.9 kB / 0.6887 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1675, allocations: 33.7 kB / 0.6888 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1676, allocations: 164.3 kB / 0.6889 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1677, allocations: 51.62 kB / 0.689 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1678, allocations: 69.62 kB / 0.689 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1679, allocations: 334.8 kB / 0.6894 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.1683, allocations: 104.1 kB / 0.6895 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.1687, allocations: 179.3 kB / 0.6896 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.1694, allocations: 315 kB / 0.6899 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1694, allocations: 0 / 0.6899 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009066/0.1703, allocations: 417.5 kB / 0.6903 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.1704, allocations: 93.09 kB / 0.6904 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1704, allocations: 0 / 0.6904 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1704, allocations: 4 kB / 0.6904 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1706, allocations: 48.05 kB / 0.6905 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1706, allocations: 4 kB / 0.6905 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1709, allocations: 67.72 kB / 0.6905 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1709, allocations: 12 kB / 0.6905 GB, free: 9.695 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.0001623/0.1711, allocations: 148 kB / 0.6907 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.1711, allocations: 23.78 kB / 0.6907 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.1719, allocations: 263.2 kB / 0.691 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1719, allocations: 4 kB / 0.691 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1719, allocations: 0 / 0.691 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1719, allocations: 3.984 kB / 0.691 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1729, allocations: 0.5763 MB / 0.6915 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1729, allocations: 0 / 0.6915 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1731, allocations: 35.91 kB / 0.6916 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1731, allocations: 4 kB / 0.6916 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1731, allocations: 3.984 kB / 0.6916 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1731, allocations: 0 / 0.6916 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1731, allocations: 4 kB / 0.6916 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/0.1738, allocations: 345.4 kB / 0.6919 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1739, allocations: 92.95 kB / 0.692 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1739, allocations: 11.98 kB / 0.692 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1742, allocations: 39.95 kB / 0.692 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1743, allocations: 43.94 kB / 0.6921 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1744, allocations: 7.984 kB / 0.6921 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001205/0.1745, allocations: 136.5 kB / 0.6922 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1745, allocations: 11.94 kB / 0.6922 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003005/0.1748, allocations: 55.88 kB / 0.6923 GB, free: 7.812 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.00146/0.1762, allocations: 1 MB / 0.6933 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008528/0.1771, allocations: 410.7 kB / 0.6937 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1771, allocations: 4 kB / 0.6937 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.1774, allocations: 103.9 kB / 0.6938 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1778, allocations: 37.34 kB / 0.6938 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.1818, allocations: 2.592 MB / 0.6963 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1821, allocations: 0.7359 MB / 0.697 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.469e-05/0.1822, allocations: 21.53 kB / 0.6971 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1824, allocations: 71.41 kB / 0.6971 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1824, allocations: 0 / 0.6971 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2115, allocations: 5.25 MB / 0.7023 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.074, allocations: 6.75 kB / 0.7023 GB, free: 13.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 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.319813508016523] Failed to read output from testmodel.py, exit status != 0: 8.14656679899781 8.169591698 8.005120339 Calling exit ...