Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.00178, allocations: 105.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 245.1 MB, free: 4.363 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.14/1.14, allocations: 173.4 MB / 470.6 MB, free: 6.742 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.66 kB / 0.6478 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1859, allocations: 89.51 MB / 0.7352 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003619/0.1895, allocations: 2.086 MB / 0.7373 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1906, allocations: 0.5494 MB / 0.7378 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1907, allocations: 4 kB / 0.7378 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1909, allocations: 31.66 kB / 0.7379 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.191, allocations: 35.66 kB / 0.7379 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1913, allocations: 83.83 kB / 0.738 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1916, allocations: 279.3 kB / 0.7382 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.1919, allocations: 110.9 kB / 0.7383 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.192, allocations: 107.6 kB / 0.7384 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1922, allocations: 127.4 kB / 0.7386 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.1923, allocations: 28 kB / 0.7386 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-05/0.1923, allocations: 24 kB / 0.7386 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.1924, allocations: 55.81 kB / 0.7387 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1925, allocations: 115.4 kB / 0.7388 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.1929, allocations: 274.9 kB / 0.739 GB, free: 336 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1929, allocations: 4 kB / 0.739 GB, free: 332 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1929, allocations: 0 / 0.739 GB, free: 332 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.1929, allocations: 0 / 0.739 GB, free: 332 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001235/0.1941, allocations: 0.6485 MB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1942, allocations: 12.03 kB / 0.7397 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.495e-05/0.1943, allocations: 55.17 kB / 0.7397 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.1944, allocations: 28.75 kB / 0.7398 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.1947, allocations: 248.6 kB / 0.74 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.1948, allocations: 32.3 kB / 0.74 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1948, allocations: 20 kB / 0.7401 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.1955, allocations: 266.6 kB / 0.7403 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1955, allocations: 4 kB / 0.7403 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1955, allocations: 11.98 kB / 0.7403 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1956, allocations: 4 kB / 0.7403 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.1963, allocations: 197.6 kB / 0.7405 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1974, allocations: 0.6272 MB / 0.7411 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.1983, allocations: 234.4 kB / 0.7414 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.1986, allocations: 84.78 kB / 0.7414 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1986, allocations: 3.938 kB / 0.7414 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/0.1991, allocations: 193.2 kB / 0.7416 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.572e-06/0.1991, allocations: 3.938 kB / 0.7416 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.001122/0.2003, allocations: 331.2 kB / 0.7419 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.2004, allocations: 110.8 kB / 0.742 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2006, allocations: 204.3 kB / 0.7422 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2006, allocations: 33.7 kB / 0.7423 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2008, allocations: 160.3 kB / 0.7424 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.2008, allocations: 51.62 kB / 0.7425 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2009, allocations: 57.7 kB / 0.7425 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2011, allocations: 334.8 kB / 0.7429 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2015, allocations: 116.2 kB / 0.743 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.202, allocations: 175.8 kB / 0.7431 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.2027, allocations: 309.5 kB / 0.7434 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2027, allocations: 4 kB / 0.7434 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009528/0.2037, allocations: 425.6 kB / 0.7438 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.2038, allocations: 89.09 kB / 0.7439 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2038, allocations: 4 kB / 0.7439 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2038, allocations: 0 / 0.7439 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.204, allocations: 47.91 kB / 0.744 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2041, allocations: 3.984 kB / 0.744 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.2044, allocations: 63.91 kB / 0.744 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2044, allocations: 12 kB / 0.744 GB, free: 10.83 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: 25 (antFre.disErr.y,$PRE.antFre.disErr.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,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 (31): * Single equations (assignments): 28 * 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.0001636/0.2046, allocations: 148 kB / 0.7442 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.2047, allocations: 23.8 kB / 0.7442 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.2054, allocations: 263.3 kB / 0.7445 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2054, allocations: 0 / 0.7445 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2055, allocations: 4 kB / 0.7445 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2055, allocations: 0 / 0.7445 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2065, allocations: 0.5779 MB / 0.745 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2066, allocations: 4 kB / 0.745 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.2067, allocations: 27.95 kB / 0.7451 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2067, allocations: 4 kB / 0.7451 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2067, allocations: 0 / 0.7451 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2068, allocations: 3.938 kB / 0.7451 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2068, allocations: 0 / 0.7451 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.2076, allocations: 355 kB / 0.7454 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.2076, allocations: 100.9 kB / 0.7455 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.2077, allocations: 11.94 kB / 0.7455 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.208, allocations: 39.94 kB / 0.7455 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2081, allocations: 43.95 kB / 0.7456 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.2082, allocations: 7.984 kB / 0.7456 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001437/0.2083, allocations: 148 kB / 0.7457 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2083, allocations: 0 / 0.7457 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003289/0.2087, allocations: 55.89 kB / 0.7458 GB, free: 8.926 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: 13 ($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) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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.001558/0.2102, allocations: 1.011 MB / 0.7468 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009368/0.2112, allocations: 417.8 kB / 0.7472 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2112, allocations: 0 / 0.7472 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.2116, allocations: 114 kB / 0.7473 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.212, allocations: 31.97 kB / 0.7473 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.2163, allocations: 2.586 MB / 0.7498 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.2167, allocations: 0.7398 MB / 0.7506 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.2168, allocations: 21.53 kB / 0.7506 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.217, allocations: 71.41 kB / 0.7507 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.217, allocations: 0 / 0.7507 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2442, allocations: 5.216 MB / 0.7557 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.173, allocations: 8.641 kB / 0.7558 GB, free: 14.68 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.106430847896263] Failed to read output from testmodel.py, exit status != 0: 8.255319844000041 8.278543878 8.081713183 Calling exit ...