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.001804/0.001804, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001555/0.001555, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8103/0.8103, allocations: 134 MB / 447.2 MB, free: 9.949 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.001872/0.001872, allocations: 63.48 kB / 0.6192 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.9 MB / 0.7031 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003294/0.1645, allocations: 1.978 MB / 0.705 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1655, allocations: 0.5726 MB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.1656, allocations: 3.938 kB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1657, allocations: 27.73 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1658, allocations: 43.58 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1661, allocations: 67.84 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1663, allocations: 183.3 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1665, allocations: 63.34 kB / 0.706 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1667, allocations: 83.7 kB / 0.7061 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1668, allocations: 83.61 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1668, allocations: 16 kB / 0.7061 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.1669, allocations: 24 kB / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.1669, allocations: 31.91 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.167, allocations: 63.67 kB / 0.7063 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1673, allocations: 183.2 kB / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1673, allocations: 3.938 kB / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1673, allocations: 0 / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1673, allocations: 4 kB / 0.7064 GB, free: 13.66 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.0007979/0.1681, allocations: 423.9 kB / 0.7068 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1681, allocations: 8.031 kB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.1681, allocations: 4.188 kB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1682, allocations: 46.73 kB / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1683, allocations: 32.78 kB / 0.7069 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1686, allocations: 160.4 kB / 0.7071 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/0.1687, allocations: 63.97 kB / 0.7072 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1687, allocations: 20.12 kB / 0.7072 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1691, allocations: 161.5 kB / 0.7073 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1691, allocations: 0 / 0.7073 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1692, allocations: 8 kB / 0.7073 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1692, allocations: 0 / 0.7073 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.1696, allocations: 139.9 kB / 0.7075 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.1704, allocations: 435.3 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1708, allocations: 122.7 kB / 0.708 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1711, allocations: 80.81 kB / 0.7081 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1711, allocations: 0 / 0.7081 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1711, allocations: 34.5 kB / 0.7081 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1711, allocations: 0 / 0.7081 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000712/0.1718, allocations: 236.5 kB / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1719, allocations: 51.41 kB / 0.7084 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.172, allocations: 155.2 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.172, allocations: 29.69 kB / 0.7086 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1721, allocations: 128.2 kB / 0.7087 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.1722, allocations: 47.62 kB / 0.7087 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.1722, allocations: 29.7 kB / 0.7088 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1724, allocations: 326.8 kB / 0.7091 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1726, allocations: 59.95 kB / 0.7091 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1728, allocations: 93.12 kB / 0.7092 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.1732, allocations: 138.2 kB / 0.7093 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1732, allocations: 0 / 0.7093 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004698/0.1737, allocations: 193.4 kB / 0.7095 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1737, allocations: 4 kB / 0.7095 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1737, allocations: 0 / 0.7095 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1737, allocations: 4 kB / 0.7095 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1739, allocations: 43.91 kB / 0.7096 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1739, allocations: 8.047 kB / 0.7096 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.174, allocations: 23.92 kB / 0.7096 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.174, allocations: 4 kB / 0.7096 GB, free: 10.2 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.0001211/0.1742, allocations: 133.7 kB / 0.7097 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1742, allocations: 15.91 kB / 0.7098 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1743, allocations: 25.33 kB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1743, allocations: 0 / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1743, allocations: 0 / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1743, allocations: 7.938 kB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1745, allocations: 196.6 kB / 0.71 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1745, allocations: 0 / 0.71 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1747, allocations: 39.97 kB / 0.71 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1747, allocations: 0 / 0.71 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1747, allocations: 0 / 0.71 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1747, allocations: 0 / 0.71 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1747, allocations: 0 / 0.71 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.1754, allocations: 347.2 kB / 0.7103 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.1755, allocations: 15.94 kB / 0.7104 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1755, allocations: 0 / 0.7104 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1756, allocations: 19.97 kB / 0.7104 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1757, allocations: 15.92 kB / 0.7104 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1757, allocations: 3.984 kB / 0.7104 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.1758, allocations: 125 kB / 0.7105 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1758, allocations: 0 / 0.7105 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002559/0.176, allocations: 35.94 kB / 0.7105 GB, free: 9.176 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.001006/0.1771, allocations: 0.8723 MB / 0.7114 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.1775, allocations: 139.8 kB / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1775, allocations: 0 / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.1777, allocations: 71.94 kB / 0.7116 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.178, allocations: 20.12 kB / 0.7116 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1808, allocations: 1.989 MB / 0.7136 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1809, allocations: 107.7 kB / 0.7137 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.008e-05/0.181, allocations: 16.48 kB / 0.7137 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.1811, allocations: 43.42 kB / 0.7137 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1811, allocations: 0 / 0.7137 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.2073, allocations: 3.604 MB / 0.7172 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.93, allocations: 15.69 kB / 0.7173 GB, free: 2.348 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.391826274921186] Failed to read output from testmodel.py, exit status != 0: 11.081938374089077 11.097959658 10.927605387 Calling exit ...