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.001429/0.001429, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001334/0.001334, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.7909/0.7909, allocations: 134 MB / 447.2 MB, free: 10.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",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.62 kB / 0.6193 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.165, allocations: 85.9 MB / 0.7032 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003502/0.1685, allocations: 2.089 MB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1696, allocations: 0.6076 MB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.1697, allocations: 4 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1698, allocations: 23.72 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.17, allocations: 39.58 kB / 0.7059 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1702, allocations: 71.84 kB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.1705, allocations: 187.2 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1706, allocations: 58.67 kB / 0.7062 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1708, allocations: 83.7 kB / 0.7063 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.171, allocations: 75.69 kB / 0.7063 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.171, allocations: 16 kB / 0.7063 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.171, allocations: 23.92 kB / 0.7064 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.1711, allocations: 35.91 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1712, allocations: 79.59 kB / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1714, allocations: 179.2 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1714, allocations: 0 / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1714, allocations: 4 kB / 0.7067 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1714, 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.0008053/0.1722, allocations: 421.4 kB / 0.7071 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1723, allocations: 19.95 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/0.1723, allocations: 12.19 kB / 0.7071 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.1723, allocations: 46.75 kB / 0.7071 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1725, allocations: 32.78 kB / 0.7072 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1728, allocations: 152.4 kB / 0.7073 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1729, allocations: 67.95 kB / 0.7074 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.1729, allocations: 16.12 kB / 0.7074 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1733, allocations: 161.6 kB / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1734, allocations: 4 kB / 0.7075 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1734, allocations: 4 kB / 0.7075 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1734, allocations: 4 kB / 0.7076 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.1739, allocations: 139.9 kB / 0.7077 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.1747, allocations: 0.4987 MB / 0.7082 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.1751, allocations: 129.5 kB / 0.7083 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1753, allocations: 76.73 kB / 0.7084 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1754, allocations: 0 / 0.7084 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1754, allocations: 42.5 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.1754, allocations: 0 / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007292/0.1761, allocations: 217.5 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1762, allocations: 55.41 kB / 0.7087 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1763, allocations: 151.3 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1763, allocations: 29.7 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.1764, allocations: 132.2 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1765, allocations: 47.61 kB / 0.709 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.1765, allocations: 29.72 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1767, allocations: 330.8 kB / 0.7094 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1769, allocations: 59.89 kB / 0.7094 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.1771, allocations: 86.52 kB / 0.7095 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1776, allocations: 138.4 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1776, allocations: 0 / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004964/0.1781, allocations: 193.4 kB / 0.7098 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1781, allocations: 8 kB / 0.7098 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1781, allocations: 0 / 0.7098 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1781, allocations: 3.938 kB / 0.7098 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1783, allocations: 35.97 kB / 0.7099 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1783, allocations: 8.062 kB / 0.7099 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1784, allocations: 27.92 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1784, allocations: 7.984 kB / 0.7099 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.0001144/0.1786, allocations: 129.7 kB / 0.71 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1786, allocations: 15.91 kB / 0.71 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1786, allocations: 21.41 kB / 0.7101 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1786, allocations: 0 / 0.7101 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1787, allocations: 3.938 kB / 0.7101 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1787, allocations: 7.984 kB / 0.7101 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1789, allocations: 204.6 kB / 0.7103 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1789, allocations: 7.984 kB / 0.7103 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1791, allocations: 31.97 kB / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1791, allocations: 0 / 0.7103 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1791, allocations: 8 kB / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1791, allocations: 0 / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1791, allocations: 0 / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.1799, allocations: 343.1 kB / 0.7106 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.1799, allocations: 11.94 kB / 0.7107 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1799, allocations: 7.984 kB / 0.7107 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1801, allocations: 20.05 kB / 0.7107 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.1801, allocations: 15.97 kB / 0.7107 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1801, allocations: 4 kB / 0.7107 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.1802, allocations: 120.9 kB / 0.7108 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1802, allocations: 0 / 0.7108 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002517/0.1805, allocations: 31.94 kB / 0.7108 GB, free: 9.258 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.001064/0.1816, allocations: 0.879 MB / 0.7117 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.182, allocations: 143.9 kB / 0.7118 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.182, allocations: 0 / 0.7118 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.1823, allocations: 67.95 kB / 0.7119 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1826, allocations: 22.45 kB / 0.7119 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1856, allocations: 1.993 MB / 0.7139 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.186, allocations: 0.7238 MB / 0.7146 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.186, allocations: 8.5 kB / 0.7146 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.1861, allocations: 43.41 kB / 0.7146 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.1861, allocations: 4 kB / 0.7146 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.2129, allocations: 3.529 MB / 0.7181 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.95, allocations: 9.938 kB / 0.7181 GB, free: 1.867 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.381210364983417] Failed to read output from testmodel.py, exit status != 0: 11.102326830965467 11.119417972 10.944821227 Calling exit ...