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.001307/0.001307, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001507/0.001507, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.417/1.417, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.9501/0.9501, allocations: 150 MB / 464 MB, free: 10.25 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.00231/0.00231, allocations: 61.69 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1875, allocations: 89.18 MB / 0.7291 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004125/0.1916, allocations: 2.089 MB / 0.7311 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.193, allocations: 0.5727 MB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.1932, allocations: 7.938 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1933, allocations: 23.67 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1935, allocations: 47.59 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1939, allocations: 95.88 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.1943, allocations: 287.3 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1946, allocations: 97.84 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.1948, allocations: 119.5 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.195, allocations: 139.4 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.1951, allocations: 28 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.1952, allocations: 28 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.1953, allocations: 59.77 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1954, allocations: 111.5 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.1958, allocations: 302.8 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1958, allocations: 0 / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1958, allocations: 0 / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.1959, allocations: 0 / 0.733 GB, free: 12.76 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.0014/0.1973, allocations: 0.6006 MB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1973, allocations: 12.03 kB / 0.7336 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.518e-05/0.1973, allocations: 4.625 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1975, allocations: 63.16 kB / 0.7336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.1975, allocations: 32.75 kB / 0.7337 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.198, allocations: 215.2 kB / 0.7339 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.198, allocations: 24.42 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.1981, allocations: 24 kB / 0.7339 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.1989, allocations: 380.5 kB / 0.7343 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1989, allocations: 0 / 0.7343 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.1989, allocations: 8 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1989, allocations: 8 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.1996, allocations: 217.5 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.201, allocations: 0.5832 MB / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.2017, allocations: 218.3 kB / 0.7353 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.202, allocations: 100.8 kB / 0.7354 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.202, allocations: 7.984 kB / 0.7354 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.2026, allocations: 210.4 kB / 0.7356 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 2.053e-06/0.2026, allocations: 0 / 0.7356 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.001715/0.2043, allocations: 0.5428 MB / 0.7361 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.2044, allocations: 114.8 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2046, allocations: 218.8 kB / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.2047, allocations: 37.69 kB / 0.7365 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2048, allocations: 160.7 kB / 0.7366 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.868e-05/0.2049, allocations: 75.41 kB / 0.7367 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.205, allocations: 78.02 kB / 0.7368 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2052, allocations: 334.8 kB / 0.7371 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.2056, allocations: 213.3 kB / 0.7373 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.2061, allocations: 324.2 kB / 0.7376 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.2068, allocations: 339.8 kB / 0.7379 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2068, allocations: 0 / 0.7379 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.2079, allocations: 0.5402 MB / 0.7385 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.208, allocations: 89.09 kB / 0.7385 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.208, allocations: 0 / 0.7385 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.208, allocations: 4 kB / 0.7385 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.2083, allocations: 55.89 kB / 0.7386 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2083, allocations: 4 kB / 0.7386 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.2086, allocations: 52.09 kB / 0.7387 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2087, allocations: 12 kB / 0.7387 GB, free: 6.508 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.000191/0.2089, allocations: 163.8 kB / 0.7388 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.2089, allocations: 23.86 kB / 0.7388 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/0.2098, allocations: 310.8 kB / 0.7391 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2098, allocations: 0 / 0.7391 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2098, allocations: 4 kB / 0.7391 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2098, allocations: 0 / 0.7391 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2112, allocations: 0.6851 MB / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2112, allocations: 0 / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2114, allocations: 39.91 kB / 0.7398 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2114, allocations: 4 kB / 0.7399 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2114, allocations: 16.11 kB / 0.7399 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2114, allocations: 3.938 kB / 0.7399 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.2115, allocations: 7.938 kB / 0.7399 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.2123, allocations: 407.7 kB / 0.7403 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.2124, allocations: 19.84 kB / 0.7403 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.2124, allocations: 20 kB / 0.7403 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.2127, allocations: 43.88 kB / 0.7403 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.2129, allocations: 59.91 kB / 0.7404 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.213, allocations: 15.98 kB / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000144/0.2131, allocations: 140.6 kB / 0.7406 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2131, allocations: 0 / 0.7406 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003446/0.2134, allocations: 56 kB / 0.7406 GB, free: 4.418 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.001633/0.2151, allocations: 1.097 MB / 0.7417 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.2161, allocations: 0.5192 MB / 0.7422 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2161, allocations: 0 / 0.7422 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.2166, allocations: 153 kB / 0.7423 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.217, allocations: 50.95 kB / 0.7424 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.222, allocations: 3.184 MB / 0.7455 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2221, allocations: 142.2 kB / 0.7456 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.2223, allocations: 21.95 kB / 0.7456 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.2224, allocations: 87.39 kB / 0.7457 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.223e-06/0.2224, allocations: 0 / 0.7457 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.2525, allocations: 6.518 MB / 0.7521 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.5, allocations: 13.83 kB / 0.7521 GB, free: 8.543 MB / 0.5762 GB " [Timeout remaining time 648] (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.4964993679896] Failed to read output from testmodel.py, exit status != 0: 11.655730218044482 11.965190318 11.766504083 Calling exit ...