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.001367/0.001367, allocations: 114.3 kB / 17.12 MB, free: 5.914 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.001394/0.001394, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.387/1.387, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.8112/0.8112, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.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.001821/0.001821, allocations: 67.89 kB / 0.5987 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002811/0.4028, allocations: 2.088 MB / 0.6823 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.4036, allocations: 0.5732 MB / 0.6828 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4037, allocations: 1.125 kB / 0.6828 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.4038, allocations: 25.05 kB / 0.6829 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.4039, allocations: 39.53 kB / 0.6829 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.4041, allocations: 86.25 kB / 0.683 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4044, allocations: 261.4 kB / 0.6832 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.4046, allocations: 91.45 kB / 0.6833 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4047, allocations: 104.2 kB / 0.6834 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4048, allocations: 127.3 kB / 0.6835 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.4048, allocations: 26.94 kB / 0.6836 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.4049, allocations: 26 kB / 0.6836 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.4049, allocations: 54.73 kB / 0.6836 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.405, allocations: 115.7 kB / 0.6837 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.4053, allocations: 278.7 kB / 0.684 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4053, allocations: 0 / 0.684 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4053, allocations: 1.188 kB / 0.684 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.4053, allocations: 0 / 0.684 GB, free: 3.039 MB / 0.4981 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.000956/0.4062, allocations: 0.6513 MB / 0.6846 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4063, allocations: 10.03 kB / 0.6847 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.4063, allocations: 53.02 kB / 0.6847 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.4064, allocations: 31.09 kB / 0.6847 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.4067, allocations: 250.5 kB / 0.685 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4067, allocations: 25.64 kB / 0.685 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.4067, allocations: 23.56 kB / 0.685 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.4073, allocations: 265.4 kB / 0.6853 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4073, allocations: 3.938 kB / 0.6853 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.4073, allocations: 14.3 kB / 0.6853 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4073, allocations: 5.312 kB / 0.6853 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.4079, allocations: 196.5 kB / 0.6855 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.4088, allocations: 0.6309 MB / 0.6861 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.4095, allocations: 213 kB / 0.6863 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.4098, allocations: 78.47 kB / 0.6864 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.4098, allocations: 13.14 kB / 0.6864 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.4103, allocations: 193.2 kB / 0.6866 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.4103, allocations: 0 / 0.6866 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0009734/0.4112, allocations: 325.8 kB / 0.6869 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4113, allocations: 112.4 kB / 0.687 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4114, allocations: 202.6 kB / 0.6872 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.4115, allocations: 34.14 kB / 0.6872 GB, free: 476 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.4115, allocations: 169.3 kB / 0.6874 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.4116, allocations: 49.92 kB / 0.6874 GB, free: 272 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4117, allocations: 71.22 kB / 0.6875 GB, free: 220 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4118, allocations: 331.4 kB / 0.6878 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.4121, allocations: 107.1 kB / 0.6879 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.4125, allocations: 175.8 kB / 0.6881 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.4132, allocations: 305.5 kB / 0.6884 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4132, allocations: 0 / 0.6884 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001041/0.4142, allocations: 423.3 kB / 0.6888 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.4143, allocations: 93.03 kB / 0.6889 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4143, allocations: 2.25 kB / 0.6889 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4143, allocations: 2.688 kB / 0.6889 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4146, allocations: 45.14 kB / 0.6889 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4146, allocations: 3.656 kB / 0.6889 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.4149, allocations: 60.02 kB / 0.689 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4149, allocations: 16.02 kB / 0.689 GB, free: 15.06 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.0001875/0.4151, allocations: 153.3 kB / 0.6891 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.4152, allocations: 20.94 kB / 0.6892 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/0.4159, allocations: 265.1 kB / 0.6894 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4159, allocations: 2.312 kB / 0.6894 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4159, allocations: 5.25 kB / 0.6894 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4159, allocations: 0 / 0.6894 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4169, allocations: 0.5859 MB / 0.69 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4169, allocations: 0 / 0.69 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4171, allocations: 34.53 kB / 0.69 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4171, allocations: 1.25 kB / 0.69 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4171, allocations: 6.359 kB / 0.69 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4171, allocations: 0 / 0.69 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4171, allocations: 1 kB / 0.69 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.4179, allocations: 345 kB / 0.6904 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.4179, allocations: 89.39 kB / 0.6904 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.418, allocations: 7.25 kB / 0.6905 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4183, allocations: 46.91 kB / 0.6905 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4184, allocations: 49.28 kB / 0.6905 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4184, allocations: 5.594 kB / 0.6905 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001442/0.4186, allocations: 146.1 kB / 0.6907 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.4186, allocations: 0 / 0.6907 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003443/0.4189, allocations: 55.42 kB / 0.6907 GB, free: 13.74 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.001498/0.4204, allocations: 1.006 MB / 0.6917 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008777/0.4213, allocations: 403.1 kB / 0.6921 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4213, allocations: 1.219 kB / 0.6921 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.4216, allocations: 115.4 kB / 0.6922 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.422, allocations: 29.92 kB / 0.6922 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.4262, allocations: 2.597 MB / 0.6948 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.4267, allocations: 0.7375 MB / 0.6955 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.4269, allocations: 24.97 kB / 0.6955 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.427, allocations: 71.31 kB / 0.6956 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of SimCode: time 1.452e-06/0.427, allocations: 0 / 0.6956 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.4581, allocations: 5.254 MB / 0.7007 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.456, allocations: 8.906 kB / 0.7007 GB, free: 7.137 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=1 --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.698485751636326] Failed to read output from testmodel.py, exit status != 0: 8.525717018637806 8.547538433 8.137991327 Calling exit ...