Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.001239/0.001239, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001408/0.001408, allocations: 220 kB / 23.04 MB, free: 5.078 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.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.7873/0.7873, allocations: 134 MB / 447.2 MB, free: 10.24 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_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="cs",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.001818/0.001818, allocations: 66.2 kB / 0.6193 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 85.92 MB / 0.7032 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003366/0.167, allocations: 2.072 MB / 0.7052 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.168, allocations: 0.6115 MB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1681, allocations: 3.938 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1682, allocations: 23.73 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.1683, allocations: 39.58 kB / 0.7059 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1686, allocations: 63.86 kB / 0.7059 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1688, allocations: 187.2 kB / 0.7061 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.169, allocations: 62.59 kB / 0.7062 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1692, allocations: 91.69 kB / 0.7063 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1693, allocations: 83.62 kB / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1693, allocations: 16 kB / 0.7064 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.1694, allocations: 16 kB / 0.7064 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.1694, allocations: 35.91 kB / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.1695, allocations: 79.55 kB / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1697, allocations: 179.2 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1697, allocations: 0 / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1697, allocations: 3.938 kB / 0.7067 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1697, allocations: 0 / 0.7067 GB, free: 13.86 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.0007865/0.1705, allocations: 421.5 kB / 0.7071 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1706, allocations: 12.03 kB / 0.7071 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/0.1706, allocations: 8.188 kB / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.1706, allocations: 46.73 kB / 0.7071 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1708, allocations: 36.78 kB / 0.7072 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.171, allocations: 160.4 kB / 0.7073 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1711, allocations: 63.97 kB / 0.7074 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1712, allocations: 16.12 kB / 0.7074 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.1716, allocations: 157.6 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1716, allocations: 4 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1716, allocations: 8 kB / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1716, allocations: 8 kB / 0.7076 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.1721, allocations: 135.9 kB / 0.7077 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.1729, allocations: 0.4987 MB / 0.7082 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1733, allocations: 126.7 kB / 0.7083 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.1736, allocations: 72.81 kB / 0.7084 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1736, allocations: 3.938 kB / 0.7084 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1736, allocations: 42.48 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1736, allocations: 0 / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007337/0.1744, allocations: 224.7 kB / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1744, allocations: 51.41 kB / 0.7087 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1745, allocations: 151.3 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1746, allocations: 33.7 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1747, allocations: 124.2 kB / 0.709 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1747, allocations: 43.62 kB / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.1748, allocations: 33.7 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1749, allocations: 330.8 kB / 0.7094 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1751, allocations: 59.89 kB / 0.7094 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1754, allocations: 86.45 kB / 0.7095 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.1758, allocations: 141.4 kB / 0.7096 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1758, allocations: 3.938 kB / 0.7096 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004924/0.1763, allocations: 193.4 kB / 0.7098 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1763, allocations: 8 kB / 0.7098 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.1763, allocations: 0 / 0.7098 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1763, allocations: 0 / 0.7098 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1765, allocations: 39.91 kB / 0.7099 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1765, allocations: 4 kB / 0.7099 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1766, allocations: 31.98 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1766, allocations: 4 kB / 0.7099 GB, free: 10.3 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.0001154/0.1768, allocations: 125.7 kB / 0.71 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1768, allocations: 15.91 kB / 0.71 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.1769, allocations: 21.39 kB / 0.7101 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1769, allocations: 11.92 kB / 0.7101 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1769, allocations: 0 / 0.7101 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1769, allocations: 0 / 0.7101 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.1771, allocations: 216.6 kB / 0.7103 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1771, allocations: 4 kB / 0.7103 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1773, allocations: 31.97 kB / 0.7103 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1773, allocations: 0 / 0.7103 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1773, allocations: 8 kB / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1773, allocations: 0 / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1773, allocations: 0 / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.1781, allocations: 347.1 kB / 0.7106 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.1781, allocations: 11.94 kB / 0.7107 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1781, allocations: 4 kB / 0.7107 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1783, allocations: 19.97 kB / 0.7107 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.1784, allocations: 16.05 kB / 0.7107 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1784, allocations: 7.984 kB / 0.7107 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.581e-05/0.1785, allocations: 120.9 kB / 0.7108 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1785, allocations: 0 / 0.7108 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002528/0.1787, allocations: 31.94 kB / 0.7108 GB, free: 9.262 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.001043/0.1798, allocations: 0.8684 MB / 0.7117 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.1802, allocations: 140.1 kB / 0.7118 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1802, allocations: 3.938 kB / 0.7118 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1804, allocations: 71.94 kB / 0.7119 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1807, allocations: 15.94 kB / 0.7119 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.1836, allocations: 2.015 MB / 0.7139 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1841, allocations: 0.7199 MB / 0.7146 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.172e-05/0.1842, allocations: 12.48 kB / 0.7146 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.1843, allocations: 47.42 kB / 0.7146 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1843, allocations: 0 / 0.7146 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2097, allocations: 3.522 MB / 0.7181 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.88, allocations: 8.453 kB / 0.7181 GB, free: 1.867 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.26122480793856] Failed to read output from testmodel.py, exit status != 0: 11.034577749087475 11.050060194 10.87743186 Calling exit ...