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.001275/0.001275, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00153/0.00153, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.781 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.7835/0.7835, allocations: 134 MB / 446.4 MB, free: 9.922 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.001897/0.001897, allocations: 70.78 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1583, allocations: 85.91 MB / 0.7024 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003214/0.1615, allocations: 1.983 MB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1626, allocations: 0.5726 MB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.1627, allocations: 3.938 kB / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1628, allocations: 23.78 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.1629, allocations: 39.58 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1632, allocations: 71.8 kB / 0.705 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1634, allocations: 191.2 kB / 0.7052 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1636, allocations: 50.67 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1638, allocations: 91.64 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1639, allocations: 67.69 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.164, allocations: 19.94 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.164, allocations: 16 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.1641, allocations: 31.91 kB / 0.7054 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.1641, allocations: 71.66 kB / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1644, allocations: 175.3 kB / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1644, allocations: 0 / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1644, allocations: 4 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.1644, allocations: 0 / 0.7057 GB, free: 13.67 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.0007963/0.1652, allocations: 421.5 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1653, allocations: 8.031 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.1653, allocations: 50.73 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1655, allocations: 32.72 kB / 0.7062 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1658, allocations: 156.2 kB / 0.7063 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.1659, allocations: 67.97 kB / 0.7064 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1659, allocations: 20.36 kB / 0.7064 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.1663, allocations: 157.5 kB / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1663, allocations: 0 / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1663, allocations: 11.94 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1663, allocations: 4 kB / 0.7066 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.1668, allocations: 143.9 kB / 0.7067 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.1676, allocations: 423.4 kB / 0.7071 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.168, allocations: 130.6 kB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1682, allocations: 80.8 kB / 0.7073 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1683, allocations: 0 / 0.7073 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1683, allocations: 30.56 kB / 0.7073 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1683, allocations: 4 kB / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007326/0.169, allocations: 231 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1691, allocations: 51.41 kB / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1692, allocations: 151.3 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.1692, allocations: 29.7 kB / 0.7078 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.1693, allocations: 124.2 kB / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.1694, allocations: 47.62 kB / 0.7079 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.1694, allocations: 29.7 kB / 0.708 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1696, allocations: 322.8 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1698, allocations: 67.94 kB / 0.7083 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.17, allocations: 81.06 kB / 0.7084 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.1704, allocations: 146.4 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1704, allocations: 3.938 kB / 0.7086 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000481/0.1709, allocations: 193.2 kB / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1709, allocations: 4 kB / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1709, allocations: 64 / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1709, allocations: 8 kB / 0.7088 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.1711, allocations: 43.91 kB / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1711, allocations: 7.984 kB / 0.7088 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1713, allocations: 23.88 kB / 0.7088 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1713, allocations: 4 kB / 0.7088 GB, free: 10.21 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.000119/0.1714, allocations: 129.8 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1714, allocations: 15.89 kB / 0.709 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.1715, allocations: 21.41 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1715, allocations: 0 / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1715, allocations: 0 / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1715, allocations: 4 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1717, allocations: 196.6 kB / 0.7092 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1717, allocations: 0 / 0.7092 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1719, allocations: 47.89 kB / 0.7092 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1719, allocations: 0 / 0.7092 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1719, allocations: 0 / 0.7092 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1719, allocations: 0 / 0.7092 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1719, allocations: 7.984 kB / 0.7092 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.1727, allocations: 335.2 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.1727, allocations: 15.94 kB / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1727, allocations: 0 / 0.7096 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1729, allocations: 24.03 kB / 0.7096 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1729, allocations: 15.97 kB / 0.7096 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1729, allocations: 3.938 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.173, allocations: 124.9 kB / 0.7097 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 3.938 kB / 0.7097 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002528/0.1733, allocations: 35.94 kB / 0.7098 GB, free: 9.184 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.001026/0.1743, allocations: 0.8678 MB / 0.7106 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.1748, allocations: 139.8 kB / 0.7107 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1748, allocations: 4.188 kB / 0.7108 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.175, allocations: 71.89 kB / 0.7108 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1753, allocations: 27.91 kB / 0.7108 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.1781, allocations: 1.982 MB / 0.7128 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1782, allocations: 111.7 kB / 0.7129 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.613e-05/0.1783, allocations: 8.484 kB / 0.7129 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.1784, allocations: 47.42 kB / 0.7129 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1784, allocations: 3.938 kB / 0.7129 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.2103, allocations: 3.941 MB / 0.7168 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 12.25 kB / 0.7168 GB, free: 2.004 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.416195612866431] Failed to read output from testmodel.py, exit status != 0: 11.161774426698685 11.188905523 11.019476573 Calling exit ...