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.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.001585/0.001585, allocations: 72.5 kB / 19.92 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.001247/0.001247, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5524/0.5524, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> 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 1.783e-06/1.783e-06, allocations: 0 / 0.5542 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.551e-05, allocations: 4.812 kB / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002766/0.002792, allocations: 2.082 MB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004161, allocations: 0.5882 MB / 0.5569 GB, free: 20 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.004404, allocations: 4 kB / 0.5569 GB, free: 16 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.004611, allocations: 23.78 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.004703, allocations: 39.48 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.004994, allocations: 91.88 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.005282, allocations: 295.2 kB / 0.5573 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.005497, allocations: 95.52 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.00568, allocations: 171.7 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.005797, allocations: 107.6 kB / 0.5577 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.005838, allocations: 28 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.005863, allocations: 28 kB / 0.5577 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.005911, allocations: 59.81 kB / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.748e-05/0.005988, allocations: 91.73 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.006274, allocations: 315 kB / 0.5581 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.006279, allocations: 3.984 kB / 0.5582 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.00628, allocations: 0 / 0.5582 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.006286, allocations: 0 / 0.5582 GB, free: 14.69 MB / 0.5261 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.0008611/0.007147, allocations: 0.5968 MB / 0.5587 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.007191, allocations: 12.56 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.007267, allocations: 59.19 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.007325, allocations: 32.75 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.007659, allocations: 214.8 kB / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.007679, allocations: 20.88 kB / 0.5591 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.007713, allocations: 32.12 kB / 0.5591 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.008141, allocations: 369.5 kB / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00815, allocations: 0 / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.00817, allocations: 15.98 kB / 0.5595 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.008177, allocations: 4 kB / 0.5595 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.008539, allocations: 213.8 kB / 0.5597 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008334/0.009372, allocations: 0.5692 MB / 0.5602 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.009749, allocations: 194.4 kB / 0.5604 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.009903, allocations: 93.06 kB / 0.5605 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.009925, allocations: 15.86 kB / 0.5605 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.01022, allocations: 191.1 kB / 0.5607 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.01022, allocations: 0 / 0.5607 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20): time 0.0006323/0.01085, allocations: 347.3 kB / 0.561 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.01092, allocations: 114.8 kB / 0.5611 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01107, allocations: 211 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.0111, allocations: 41.69 kB / 0.5614 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.01133, allocations: 168.6 kB / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.01137, allocations: 51.62 kB / 0.5616 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.01144, allocations: 65.97 kB / 0.5616 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.01152, allocations: 342.8 kB / 0.562 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.01176, allocations: 197.3 kB / 0.5622 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.01202, allocations: 316 kB / 0.5625 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.01239, allocations: 326.4 kB / 0.5628 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01239, allocations: 0 / 0.5628 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005585/0.01295, allocations: 0.5123 MB / 0.5633 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.013, allocations: 99 kB / 0.5634 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.013, allocations: 0 / 0.5634 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01302, allocations: 4 kB / 0.5634 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01316, allocations: 52.05 kB / 0.5634 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01316, allocations: 4 kB / 0.5634 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.01333, allocations: 63.77 kB / 0.5635 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01335, allocations: 12 kB / 0.5635 GB, free: 8.793 MB / 0.5261 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,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,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 (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.00012/0.01347, allocations: 151.9 kB / 0.5636 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01349, allocations: 23.8 kB / 0.5637 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.01392, allocations: 279.2 kB / 0.5639 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01393, allocations: 4 kB / 0.5639 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01393, allocations: 0 / 0.5639 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01394, allocations: 0 / 0.5639 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.0146, allocations: 0.5735 MB / 0.5645 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.0146, allocations: 0 / 0.5645 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.01468, allocations: 35.89 kB / 0.5645 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01468, allocations: 0 / 0.5645 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.0147, allocations: 7.984 kB / 0.5645 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.0147, allocations: 4 kB / 0.5645 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0147, allocations: 4 kB / 0.5645 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.01509, allocations: 353.6 kB / 0.5649 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.01512, allocations: 23.8 kB / 0.5649 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.01515, allocations: 15.98 kB / 0.5649 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.01529, allocations: 43.94 kB / 0.565 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.01538, allocations: 47.92 kB / 0.565 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.01541, allocations: 15.97 kB / 0.565 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.01549, allocations: 148.2 kB / 0.5652 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01549, allocations: 0 / 0.5652 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000231/0.01572, allocations: 63.89 kB / 0.5652 GB, free: 6.941 MB / 0.5261 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 0.0008451/0.01656, allocations: 1.021 MB / 0.5662 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005509/0.01712, allocations: 0.4917 MB / 0.5667 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01712, allocations: 0 / 0.5667 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.01731, allocations: 113.4 kB / 0.5668 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.01758, allocations: 42.84 kB / 0.5669 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.02041, allocations: 3.046 MB / 0.5698 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.02051, allocations: 134.2 kB / 0.57 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.0206, allocations: 21.95 kB / 0.57 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.02071, allocations: 76.45 kB / 0.57 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/0.02071, allocations: 0 / 0.57 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.04234, allocations: 6.65 MB / 0.5765 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.982, allocations: 0.8125 kB / 0.5765 GB, free: 11.31 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.383479153737426] Failed to read output from testmodel.py, exit status != 0: 7.068737991154194 7.076826334 7.068562287 Calling exit ...