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.001324/0.001324, allocations: 77.86 kB / 19.76 MB, free: 2.043 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.001419/0.001419, allocations: 158.4 kB / 23 MB, free: 4.945 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.336/1.336, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] 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.7689/0.7689, allocations: 101.3 MB / 361.1 MB, free: 10.1 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [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.001993/0.001993, allocations: 66.16 kB / 0.5356 GB, free: 5.5 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1627, allocations: 85.89 MB / 0.6195 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003401/0.1661, allocations: 1.997 MB / 0.6214 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1671, allocations: 0.5648 MB / 0.622 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.1672, allocations: 4 kB / 0.622 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1674, allocations: 19.73 kB / 0.622 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1675, allocations: 43.58 kB / 0.622 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1677, allocations: 67.84 kB / 0.6221 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.168, allocations: 187.2 kB / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1681, allocations: 58.44 kB / 0.6223 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1683, allocations: 119.7 kB / 0.6225 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1685, allocations: 71.62 kB / 0.6225 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.1685, allocations: 16 kB / 0.6225 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.1685, allocations: 19.98 kB / 0.6226 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.1686, allocations: 39.84 kB / 0.6226 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.1687, allocations: 63.72 kB / 0.6227 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1689, allocations: 183.1 kB / 0.6228 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1689, allocations: 0 / 0.6228 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1689, allocations: 0 / 0.6228 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.169, allocations: 0 / 0.6228 GB, free: 14.43 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.0008796/0.1698, allocations: 425.5 kB / 0.6232 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1699, allocations: 8.031 kB / 0.6232 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.17, allocations: 32.78 kB / 0.6233 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1703, allocations: 163.3 kB / 0.6234 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.1704, allocations: 63.95 kB / 0.6235 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1704, allocations: 20.38 kB / 0.6235 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.1708, allocations: 153.7 kB / 0.6237 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1709, allocations: 0 / 0.6237 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1709, allocations: 7.938 kB / 0.6237 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1709, allocations: 4 kB / 0.6237 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.1714, allocations: 151.9 kB / 0.6238 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.1721, allocations: 392 kB / 0.6242 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.1726, allocations: 122.7 kB / 0.6243 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1728, allocations: 84.73 kB / 0.6244 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1728, allocations: 0 / 0.6244 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1729, allocations: 38.5 kB / 0.6244 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1729, allocations: 0 / 0.6244 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007397/0.1736, allocations: 225.4 kB / 0.6246 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1736, allocations: 51.41 kB / 0.6247 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1738, allocations: 151.3 kB / 0.6248 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1738, allocations: 33.7 kB / 0.6249 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.1739, allocations: 136.2 kB / 0.625 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1739, allocations: 39.62 kB / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.174, allocations: 25.72 kB / 0.6251 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1742, allocations: 326.8 kB / 0.6254 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1744, allocations: 63.94 kB / 0.6254 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1746, allocations: 90.45 kB / 0.6255 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.1751, allocations: 141.5 kB / 0.6256 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1751, allocations: 3.938 kB / 0.6256 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005061/0.1756, allocations: 193.4 kB / 0.6258 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1756, allocations: 4 kB / 0.6258 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1756, allocations: 0 / 0.6258 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.1756, allocations: 8.062 kB / 0.6258 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1758, allocations: 39.91 kB / 0.6259 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1758, allocations: 0 / 0.6259 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.176, allocations: 27.92 kB / 0.6259 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.176, allocations: 4 kB / 0.6259 GB, free: 11.06 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.0001206/0.1761, allocations: 125.8 kB / 0.626 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1762, allocations: 15.84 kB / 0.626 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.1762, allocations: 17.47 kB / 0.6261 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1762, allocations: 8 kB / 0.6261 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1762, allocations: 0 / 0.6261 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1762, allocations: 7.922 kB / 0.6261 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1764, allocations: 161.3 kB / 0.6262 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1764, allocations: 0 / 0.6262 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1766, allocations: 35.91 kB / 0.6263 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1766, allocations: 0 / 0.6263 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1766, allocations: 8 kB / 0.6263 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1766, allocations: 0 / 0.6263 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1766, allocations: 0 / 0.6263 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.1774, allocations: 343.2 kB / 0.6266 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.1774, allocations: 19.81 kB / 0.6266 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1774, allocations: 8 kB / 0.6266 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1776, allocations: 20.03 kB / 0.6266 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.1777, allocations: 15.98 kB / 0.6267 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.1777, allocations: 4 kB / 0.6267 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.1778, allocations: 112.9 kB / 0.6268 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 0.6268 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002525/0.178, allocations: 35.94 kB / 0.6268 GB, free: 10.09 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.0001057/0.1781, allocations: 107.2 kB / 0.6269 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.1786, allocations: 139.8 kB / 0.627 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1786, allocations: 0 / 0.627 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1788, allocations: 79.22 kB / 0.6271 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1791, allocations: 22.33 kB / 0.6271 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.1799, allocations: 385.3 kB / 0.6275 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.18, allocations: 111.6 kB / 0.6276 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.1801, allocations: 8.484 kB / 0.6276 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.1801, allocations: 20.5 kB / 0.6276 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1801, allocations: 4 kB / 0.6276 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.00486/0.185, allocations: 1.596 MB / 0.6292 GB, free: 7.598 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.069223861210048] Failed to read output from testmodel.py, exit status != 0: 0.19286993704736233 0.207527183 0.035599788 Calling exit ...