Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.001788/0.001788, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002436/0.002436, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8183/0.8183, allocations: 134 MB / 446.4 MB, free: 10.23 MB / 350.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/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001894/0.001894, allocations: 61.66 kB / 0.6185 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1673, allocations: 85.92 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003543/0.1708, allocations: 2.065 MB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1719, allocations: 0.6115 MB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1721, allocations: 7.938 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1722, allocations: 19.73 kB / 0.7051 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1723, allocations: 47.56 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1726, allocations: 67.84 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1728, allocations: 191.2 kB / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.173, allocations: 58.66 kB / 0.7054 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1732, allocations: 83.72 kB / 0.7055 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1733, allocations: 75.62 kB / 0.7056 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1734, allocations: 16 kB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.1735, allocations: 20 kB / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.1735, allocations: 35.89 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.1736, allocations: 87.53 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1739, allocations: 171.3 kB / 0.7059 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1739, allocations: 0 / 0.7059 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1739, allocations: 3.938 kB / 0.7059 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1739, allocations: 4 kB / 0.7059 GB, free: 13.84 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008832/0.1748, allocations: 425.4 kB / 0.7063 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1748, allocations: 8.031 kB / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.1749, allocations: 50.67 kB / 0.7063 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.175, allocations: 36.78 kB / 0.7064 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1753, allocations: 156.5 kB / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.1754, allocations: 63.91 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.1754, allocations: 16.38 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.1758, allocations: 165.5 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1759, allocations: 0 / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1759, allocations: 8 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1759, allocations: 8 kB / 0.7068 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.1764, allocations: 143.9 kB / 0.7069 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.1772, allocations: 0.4987 MB / 0.7074 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.1776, allocations: 118.7 kB / 0.7075 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1779, allocations: 76.8 kB / 0.7076 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1779, allocations: 7.938 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1779, allocations: 34.56 kB / 0.7076 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1779, allocations: 0 / 0.7076 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007305/0.1786, allocations: 226.5 kB / 0.7078 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1787, allocations: 55.41 kB / 0.7079 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1788, allocations: 151.3 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1789, allocations: 25.7 kB / 0.7081 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.179, allocations: 136.2 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.179, allocations: 43.62 kB / 0.7082 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.179, allocations: 25.72 kB / 0.7083 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1792, allocations: 326.8 kB / 0.7086 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1794, allocations: 63.88 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1796, allocations: 88.62 kB / 0.7087 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.18, allocations: 138.4 kB / 0.7089 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.18, allocations: 0 / 0.7089 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004753/0.1805, allocations: 197.4 kB / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1805, allocations: 4 kB / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1805, allocations: 0 / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1805, allocations: 7.984 kB / 0.7091 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1807, allocations: 39.91 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1807, allocations: 0 / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1809, allocations: 28 kB / 0.7091 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1809, allocations: 4 kB / 0.7091 GB, free: 10.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001284/0.181, allocations: 133.7 kB / 0.7092 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.181, allocations: 15.91 kB / 0.7093 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1811, allocations: 21.34 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1811, allocations: 0 / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1811, allocations: 0 / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1811, allocations: 0 / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1814, allocations: 208.6 kB / 0.7095 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1814, allocations: 4 kB / 0.7095 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.1815, allocations: 35.91 kB / 0.7095 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1815, allocations: 4 kB / 0.7095 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1816, allocations: 7.984 kB / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1816, allocations: 4 kB / 0.7095 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1816, allocations: 0 / 0.7095 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.1823, allocations: 341.9 kB / 0.7099 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.1823, allocations: 11.94 kB / 0.7099 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1824, allocations: 8 kB / 0.7099 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1825, allocations: 15.97 kB / 0.7099 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.1826, allocations: 20.03 kB / 0.7099 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1826, allocations: 7.938 kB / 0.7099 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.71e-05/0.1827, allocations: 120.9 kB / 0.71 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1827, allocations: 0 / 0.71 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002647/0.1829, allocations: 35.94 kB / 0.7101 GB, free: 9.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001016/0.1839, allocations: 0.8762 MB / 0.7109 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.1844, allocations: 143.4 kB / 0.7111 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1844, allocations: 0 / 0.7111 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1846, allocations: 67.89 kB / 0.7111 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1849, allocations: 26.55 kB / 0.7112 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.1877, allocations: 1.978 MB / 0.7131 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.188, allocations: 0.7198 MB / 0.7138 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.1881, allocations: 20.47 kB / 0.7138 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.1882, allocations: 43.42 kB / 0.7139 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1882, allocations: 0 / 0.7139 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.2187, allocations: 3.509 MB / 0.7173 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.01, allocations: 12.78 kB / 0.7173 GB, free: 1.875 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.56705281700124] Failed to read output from testmodel.py, exit status != 0: 11.111236575998191 11.137496559 10.958146776 Calling exit ...