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.001445/0.001445, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001648/0.001648, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.398/1.398, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.018/1.018, allocations: 175.7 MB / 480.2 MB, free: 2.758 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.00189/0.00189, allocations: 69.48 kB / 0.6679 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1734, allocations: 94.53 MB / 0.7603 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003336/0.1767, allocations: 2.106 MB / 0.7623 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.1777, allocations: 0.5728 MB / 0.7629 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1778, allocations: 4 kB / 0.7629 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1779, allocations: 27.67 kB / 0.7629 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.178, allocations: 39.64 kB / 0.7629 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1782, allocations: 83.84 kB / 0.763 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.1785, allocations: 267.3 kB / 0.7633 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.1788, allocations: 86.88 kB / 0.7634 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1789, allocations: 111.6 kB / 0.7635 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.179, allocations: 127.4 kB / 0.7636 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.1791, allocations: 28 kB / 0.7636 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/0.1791, allocations: 28 kB / 0.7636 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1792, allocations: 55.81 kB / 0.7637 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1793, allocations: 111.5 kB / 0.7638 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1796, allocations: 278.8 kB / 0.7641 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1796, allocations: 0 / 0.7641 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1796, allocations: 0 / 0.7641 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1796, allocations: 0 / 0.7641 GB, free: 12.9 MB / 0.5762 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.001107/0.1807, allocations: 0.6447 MB / 0.7647 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1808, allocations: 8.031 kB / 0.7647 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.1809, allocations: 63.16 kB / 0.7648 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1809, allocations: 28.75 kB / 0.7648 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.1813, allocations: 256.6 kB / 0.765 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.1813, allocations: 24.31 kB / 0.7651 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.1813, allocations: 24 kB / 0.7651 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.1819, allocations: 270.6 kB / 0.7653 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.182, allocations: 0 / 0.7653 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.182, allocations: 4 kB / 0.7653 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.182, allocations: 8 kB / 0.7654 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.1826, allocations: 201.6 kB / 0.7655 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1837, allocations: 0.6272 MB / 0.7662 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.1845, allocations: 218.5 kB / 0.7664 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1848, allocations: 76.78 kB / 0.7664 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1848, allocations: 11.92 kB / 0.7665 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.1853, allocations: 192.8 kB / 0.7666 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1853, allocations: 0 / 0.7666 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001036/0.1863, allocations: 331.2 kB / 0.767 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1864, allocations: 118.7 kB / 0.7671 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1866, allocations: 204.3 kB / 0.7673 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1866, allocations: 33.7 kB / 0.7673 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1868, allocations: 156.4 kB / 0.7674 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1868, allocations: 51.62 kB / 0.7675 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1869, allocations: 61.69 kB / 0.7676 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.187, allocations: 338.8 kB / 0.7679 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.1874, allocations: 104.2 kB / 0.768 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.1878, allocations: 171.9 kB / 0.7681 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.1884, allocations: 315.8 kB / 0.7684 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1884, allocations: 0 / 0.7684 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008809/0.1893, allocations: 432.6 kB / 0.7689 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.1894, allocations: 89.11 kB / 0.7689 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1894, allocations: 0 / 0.7689 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1894, allocations: 4 kB / 0.7689 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1896, allocations: 43.89 kB / 0.769 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1896, allocations: 4 kB / 0.769 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1899, allocations: 63.89 kB / 0.769 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.19, allocations: 12 kB / 0.7691 GB, free: 7.422 MB / 0.5762 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.000146/0.1901, allocations: 144 kB / 0.7692 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1901, allocations: 31.78 kB / 0.7692 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.1909, allocations: 255.3 kB / 0.7695 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1909, allocations: 4 kB / 0.7695 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1909, allocations: 0 / 0.7695 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1909, allocations: 0 / 0.7695 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.1918, allocations: 0.5779 MB / 0.77 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1918, allocations: 0 / 0.77 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.192, allocations: 31.95 kB / 0.7701 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.192, allocations: 4 kB / 0.7701 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.192, allocations: 4 kB / 0.7701 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.192, allocations: 4 kB / 0.7701 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.192, allocations: 0 / 0.7701 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.1927, allocations: 355 kB / 0.7704 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1928, allocations: 92.95 kB / 0.7705 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1928, allocations: 11.98 kB / 0.7705 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.1931, allocations: 43.95 kB / 0.7706 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1932, allocations: 43.94 kB / 0.7706 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1933, allocations: 7.984 kB / 0.7706 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001248/0.1934, allocations: 152 kB / 0.7708 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1934, allocations: 0 / 0.7708 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000306/0.1937, allocations: 55.89 kB / 0.7708 GB, free: 5.52 MB / 0.5762 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.001407/0.1951, allocations: 1.006 MB / 0.7718 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.196, allocations: 403.5 kB / 0.7722 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.196, allocations: 0 / 0.7722 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1963, allocations: 112.2 kB / 0.7723 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1967, allocations: 31.91 kB / 0.7723 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.2007, allocations: 2.605 MB / 0.7749 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.201, allocations: 0.7359 MB / 0.7756 GB, free: 436 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.405e-05/0.2011, allocations: 21.53 kB / 0.7756 GB, free: 416 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2013, allocations: 71.41 kB / 0.7757 GB, free: 344 kB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.2013, allocations: 0 / 0.7757 GB, free: 344 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.2289, allocations: 5.251 MB / 0.7808 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.341, allocations: 8 kB / 0.7808 GB, free: 11.18 MB / 0.5919 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 os._exit(0), Time elapsed: 12.02325051301159] Failed to read output from testmodel.py, exit status != 0: 8.428536024992354 8.444593537 8.262082582 Calling exit ...