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.001385/0.001385, allocations: 105 kB / 20.48 MB, free: 1.488 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.001692/0.001692, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.399/1.399, allocations: 230.6 MB / 257.6 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.9586/0.9586, allocations: 150 MB / 464 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="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.001957/0.001957, allocations: 62.44 kB / 0.6421 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1701, allocations: 89.16 MB / 0.7292 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.0036/0.1737, allocations: 2.177 MB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1748, allocations: 0.6156 MB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.175, allocations: 4 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1751, allocations: 23.67 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.1752, allocations: 39.59 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1755, allocations: 103.8 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1758, allocations: 287.3 kB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.176, allocations: 99.81 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1762, allocations: 119.6 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.1764, allocations: 135.4 kB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.1764, allocations: 28 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.1765, allocations: 31.94 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.1765, allocations: 63.77 kB / 0.7328 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1767, allocations: 131.4 kB / 0.7329 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.177, allocations: 290.8 kB / 0.7332 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.177, allocations: 0 / 0.7332 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.177, allocations: 0 / 0.7332 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.177, allocations: 0 / 0.7332 GB, free: 13.09 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.001192/0.1782, allocations: 0.6065 MB / 0.7338 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1783, allocations: 12.03 kB / 0.7338 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.815e-05/0.1783, allocations: 4.625 kB / 0.7338 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.63e-05/0.1784, allocations: 67.16 kB / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.1785, allocations: 32.75 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1789, allocations: 211.3 kB / 0.7341 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1789, allocations: 20.42 kB / 0.7341 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.179, allocations: 27.94 kB / 0.7341 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.1796, allocations: 299.5 kB / 0.7344 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1797, allocations: 3.984 kB / 0.7344 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1797, allocations: 12 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1797, allocations: 7.938 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.1804, allocations: 221.6 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1817, allocations: 0.6337 MB / 0.7353 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.1824, allocations: 218.3 kB / 0.7355 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.1827, allocations: 100.8 kB / 0.7356 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1828, allocations: 8 kB / 0.7356 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.1833, allocations: 203.9 kB / 0.7358 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1833, allocations: 0 / 0.7358 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.001718/0.185, allocations: 0.5431 MB / 0.7363 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.1851, allocations: 118.8 kB / 0.7364 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1853, allocations: 214.9 kB / 0.7366 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1854, allocations: 37.7 kB / 0.7367 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1855, allocations: 164.6 kB / 0.7368 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.1856, allocations: 75.41 kB / 0.7369 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1857, allocations: 74.02 kB / 0.737 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1859, allocations: 338.8 kB / 0.7373 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.1863, allocations: 128.2 kB / 0.7374 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.1867, allocations: 187.7 kB / 0.7376 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.1874, allocations: 339.9 kB / 0.7379 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1874, allocations: 3.938 kB / 0.7379 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000986/0.1884, allocations: 456.1 kB / 0.7383 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.1885, allocations: 101.2 kB / 0.7384 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1885, allocations: 0 / 0.7384 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1885, allocations: 4 kB / 0.7384 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1888, allocations: 51.89 kB / 0.7385 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1888, allocations: 4 kB / 0.7385 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.1891, allocations: 51.94 kB / 0.7385 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1892, allocations: 15.98 kB / 0.7386 GB, free: 7.23 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 (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.0001723/0.1893, allocations: 163.1 kB / 0.7387 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1894, allocations: 23.86 kB / 0.7387 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.1902, allocations: 299.6 kB / 0.739 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1902, allocations: 11.88 kB / 0.739 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1902, allocations: 0 / 0.739 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1902, allocations: 0 / 0.739 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1916, allocations: 0.7082 MB / 0.7397 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1916, allocations: 4 kB / 0.7397 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.1918, allocations: 39.95 kB / 0.7398 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1918, allocations: 7.938 kB / 0.7398 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.1919, allocations: 12.11 kB / 0.7398 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.1919, allocations: 3.938 kB / 0.7398 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1919, allocations: 4 kB / 0.7398 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.1927, allocations: 404.8 kB / 0.7402 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1927, allocations: 19.86 kB / 0.7402 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.1928, allocations: 12 kB / 0.7402 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1931, allocations: 55.81 kB / 0.7403 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1932, allocations: 55.91 kB / 0.7403 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1933, allocations: 11.98 kB / 0.7403 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001337/0.1934, allocations: 140.6 kB / 0.7405 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1934, allocations: 0 / 0.7405 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003231/0.1937, allocations: 56 kB / 0.7405 GB, free: 5.129 MB / 0.5606 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.00163/0.1953, allocations: 1.086 MB / 0.7416 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009668/0.1963, allocations: 454.6 kB / 0.742 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1963, allocations: 3.938 kB / 0.742 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.1968, allocations: 151.8 kB / 0.7422 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1972, allocations: 39.38 kB / 0.7422 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.2018, allocations: 2.847 MB / 0.745 GB, free: 340 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.2022, allocations: 0.7518 MB / 0.7457 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.2023, allocations: 25.95 kB / 0.7457 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.2025, allocations: 87.39 kB / 0.7458 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.2025, allocations: 0 / 0.7458 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.2295, allocations: 6.364 MB / 0.752 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.33, allocations: 4.812 kB / 0.752 GB, free: 9.277 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 os._exit(0), Time elapsed: 15.329775821010116] Failed to read output from testmodel.py, exit status != 0: 11.490958369045984 11.817054557 11.637561832 Calling exit ...