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.00173/0.00173, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.002257/0.002257, allocations: 214.6 kB / 23 MB, free: 5 MB / 14.72 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 1.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.9168/0.9168, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 78.59 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1953, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003978/0.1993, allocations: 2.165 MB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2007, allocations: 0.6156 MB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2009, allocations: 0 / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2011, allocations: 23.67 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.2012, allocations: 47.59 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2016, allocations: 95.81 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.202, allocations: 287.3 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.2022, allocations: 97.84 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2024, allocations: 127.5 kB / 0.7318 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.2026, allocations: 131.4 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.2027, allocations: 32 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.2027, allocations: 32 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.2028, allocations: 63.77 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2029, allocations: 127.4 kB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2033, allocations: 294.8 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2033, allocations: 4 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2033, allocations: 0 / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2034, allocations: 0 / 0.7324 GB, free: 13.11 MB / 0.5606 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.00126/0.2046, allocations: 0.6006 MB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2047, allocations: 8.031 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.2048, allocations: 59.16 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.2049, allocations: 36.69 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.2053, allocations: 207.5 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.2053, allocations: 20.38 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.2054, allocations: 32 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.206, allocations: 295.4 kB / 0.7336 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2061, allocations: 0 / 0.7336 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2061, allocations: 12 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2061, allocations: 4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.2068, allocations: 217.5 kB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.208, allocations: 0.6195 MB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.2086, allocations: 202.3 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.2089, allocations: 91.59 kB / 0.7347 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2089, allocations: 3.938 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/0.2094, allocations: 205.7 kB / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.2094, allocations: 0 / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001056/0.2105, allocations: 337.2 kB / 0.7353 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.2106, allocations: 122.8 kB / 0.7354 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2108, allocations: 215.1 kB / 0.7356 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.2109, allocations: 41.7 kB / 0.7356 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.211, allocations: 156.7 kB / 0.7358 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.211, allocations: 59.55 kB / 0.7358 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2112, allocations: 69.97 kB / 0.7359 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2113, allocations: 334.8 kB / 0.7362 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.2117, allocations: 120.2 kB / 0.7363 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.2121, allocations: 179.6 kB / 0.7365 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.2127, allocations: 322.5 kB / 0.7368 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2127, allocations: 0 / 0.7368 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009577/0.2137, allocations: 432.5 kB / 0.7372 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.2138, allocations: 93.09 kB / 0.7373 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2138, allocations: 0 / 0.7373 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2138, allocations: 4 kB / 0.7373 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.214, allocations: 51.89 kB / 0.7374 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.214, allocations: 0 / 0.7374 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2144, allocations: 67.8 kB / 0.7374 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2144, allocations: 15.98 kB / 0.7374 GB, free: 7.625 MB / 0.5606 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.0001734/0.2146, allocations: 155.9 kB / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.2146, allocations: 19.86 kB / 0.7376 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.2154, allocations: 277.3 kB / 0.7379 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2154, allocations: 4 kB / 0.7379 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2154, allocations: 0 / 0.7379 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2154, allocations: 7.922 kB / 0.7379 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2165, allocations: 0.5909 MB / 0.7385 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2165, allocations: 0 / 0.7385 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2166, allocations: 27.97 kB / 0.7385 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2166, allocations: 0 / 0.7385 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2166, allocations: 11.98 kB / 0.7385 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2167, allocations: 0 / 0.7385 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2167, allocations: 0 / 0.7385 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.2174, allocations: 367.7 kB / 0.7389 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.2174, allocations: 19.86 kB / 0.7389 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.2175, allocations: 8 kB / 0.7389 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.2178, allocations: 47.94 kB / 0.7389 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2179, allocations: 55.84 kB / 0.739 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2179, allocations: 4 kB / 0.739 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001289/0.218, allocations: 144.6 kB / 0.7391 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.218, allocations: 0 / 0.7391 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003181/0.2184, allocations: 67.81 kB / 0.7392 GB, free: 5.77 MB / 0.5606 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.001432/0.2198, allocations: 1.015 MB / 0.7402 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008654/0.2207, allocations: 418.4 kB / 0.7406 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2207, allocations: 320 / 0.7406 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.221, allocations: 118.1 kB / 0.7407 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2214, allocations: 43.11 kB / 0.7407 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.2255, allocations: 2.687 MB / 0.7434 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.2259, allocations: 0.7441 MB / 0.7441 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.226, allocations: 25.94 kB / 0.7441 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.2261, allocations: 75.41 kB / 0.7442 GB, free: 448 kB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2261, allocations: 0 / 0.7442 GB, free: 448 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.2587, allocations: 5.948 MB / 0.75 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.12, allocations: 10.47 kB / 0.75 GB, free: 10.67 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.987815112108365] Failed to read output from testmodel.py, exit status != 0: 11.231069481000304 11.571499941 11.364964746 Calling exit ...