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.001389/0.001389, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.00147/0.00147, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.44/1.44, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9293/0.9293, allocations: 150 MB / 460.2 MB, free: 5.336 MB / 350.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="cs",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="cs",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.001886/0.001886, allocations: 67.97 kB / 0.6369 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1685, allocations: 89.14 MB / 0.7239 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003793/0.1723, allocations: 2.137 MB / 0.726 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1735, allocations: 0.6116 MB / 0.7266 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1736, allocations: 4 kB / 0.7266 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1737, allocations: 31.66 kB / 0.7266 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1738, allocations: 39.59 kB / 0.7267 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1741, allocations: 99.81 kB / 0.7268 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.1745, allocations: 283.3 kB / 0.727 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.1748, allocations: 107.3 kB / 0.7271 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1749, allocations: 111.7 kB / 0.7272 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1751, allocations: 135.4 kB / 0.7274 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.1752, allocations: 32 kB / 0.7274 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.1752, allocations: 31.94 kB / 0.7274 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.1753, allocations: 63.7 kB / 0.7275 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1754, allocations: 127.4 kB / 0.7276 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.1758, allocations: 294.8 kB / 0.7279 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1758, allocations: 0 / 0.7279 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.989e-06/0.1758, allocations: 4 kB / 0.7279 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.1758, allocations: 0 / 0.7279 GB, free: 15.95 MB / 0.545 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.001275/0.1771, allocations: 0.672 MB / 0.7286 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1771, allocations: 15.97 kB / 0.7286 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.572e-05/0.1771, allocations: 8.625 kB / 0.7286 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.1772, allocations: 59.16 kB / 0.7286 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.1773, allocations: 32.75 kB / 0.7287 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.1777, allocations: 277.1 kB / 0.7289 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.1777, allocations: 20.44 kB / 0.7289 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.1778, allocations: 27.98 kB / 0.729 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.1785, allocations: 303.4 kB / 0.7293 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1785, allocations: 3.984 kB / 0.7293 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.1785, allocations: 8 kB / 0.7293 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1785, allocations: 8 kB / 0.7293 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.1792, allocations: 213.6 kB / 0.7295 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1805, allocations: 0.6776 MB / 0.7301 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.1812, allocations: 222.3 kB / 0.7304 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.1816, allocations: 92.78 kB / 0.7304 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1816, allocations: 4 kB / 0.7304 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/0.1822, allocations: 211 kB / 0.7307 GB, free: 12.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.1822, allocations: 0 / 0.7307 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.001731/0.1839, allocations: 0.5368 MB / 0.7312 GB, free: 12.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.184, allocations: 118.7 kB / 0.7313 GB, free: 12.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1842, allocations: 210.9 kB / 0.7315 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1842, allocations: 41.7 kB / 0.7315 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1843, allocations: 164.7 kB / 0.7317 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.1844, allocations: 71.42 kB / 0.7318 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1845, allocations: 85.95 kB / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1847, allocations: 334.8 kB / 0.7322 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.1851, allocations: 124.2 kB / 0.7323 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.1855, allocations: 191.7 kB / 0.7325 GB, free: 10.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.1863, allocations: 334.4 kB / 0.7328 GB, free: 10.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1863, allocations: 4 kB / 0.7328 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001019/0.1873, allocations: 470.9 kB / 0.7332 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.1874, allocations: 93.09 kB / 0.7333 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1874, allocations: 3.938 kB / 0.7333 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1874, allocations: 8.094 kB / 0.7333 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1877, allocations: 55.89 kB / 0.7334 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1877, allocations: 4 kB / 0.7334 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.188, allocations: 51.94 kB / 0.7334 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.1881, allocations: 12 kB / 0.7334 GB, free: 9.879 MB / 0.545 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 (40): * Single equations (assignments): 37 * 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.0001788/0.1882, allocations: 160 kB / 0.7336 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1883, allocations: 27.84 kB / 0.7336 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.1892, allocations: 303.7 kB / 0.7339 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1892, allocations: 0 / 0.7339 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1892, allocations: 4 kB / 0.7339 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1892, allocations: 3.984 kB / 0.7339 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.1906, allocations: 0.7317 MB / 0.7346 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1906, allocations: 4 kB / 0.7346 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.1908, allocations: 43.95 kB / 0.7347 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1908, allocations: 0 / 0.7347 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1908, allocations: 4 kB / 0.7347 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1908, allocations: 7.875 kB / 0.7347 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1908, allocations: 8.125 kB / 0.7347 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.1917, allocations: 406.6 kB / 0.7351 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.1917, allocations: 96.97 kB / 0.7352 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.1918, allocations: 12 kB / 0.7352 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.1921, allocations: 47.88 kB / 0.7352 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.1922, allocations: 63.86 kB / 0.7353 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.1923, allocations: 7.984 kB / 0.7353 GB, free: 7.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001273/0.1924, allocations: 144.6 kB / 0.7354 GB, free: 7.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.7354 GB, free: 7.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003187/0.1927, allocations: 56 kB / 0.7355 GB, free: 7.645 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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,ySetOn.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 19 * 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.001609/0.1943, allocations: 1.086 MB / 0.7366 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009589/0.1953, allocations: 446.6 kB / 0.737 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1953, allocations: 0 / 0.737 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.1957, allocations: 151.8 kB / 0.7371 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1962, allocations: 43.62 kB / 0.7372 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.2007, allocations: 2.86 MB / 0.74 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2011, allocations: 0.7441 MB / 0.7407 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.2012, allocations: 25.94 kB / 0.7407 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.2014, allocations: 87.39 kB / 0.7408 GB, free: 1.965 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.2014, allocations: 4 kB / 0.7408 GB, free: 1.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2247, allocations: 6.115 MB / 0.7468 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.443, allocations: 13.78 kB / 0.7468 GB, free: 12.04 MB / 0.5606 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 os._exit(0), Time elapsed: 12.201261406997219] Failed to read output from testmodel.py, exit status != 0: 8.567835427995306 8.588749625 8.409092591 Calling exit ...