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.001393/0.001393, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001515/0.001515, allocations: 162.4 kB / 23.01 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.8203/0.8203, allocations: 101.3 MB / 361.1 MB, free: 9.535 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.003081/0.003081, allocations: 66.52 kB / 0.5356 GB, free: 5.258 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.1655/0.1686, allocations: 85.88 MB / 0.6195 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003526/0.1721, allocations: 1.998 MB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1732, allocations: 0.5649 MB / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1733, allocations: 0 / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1735, allocations: 23.73 kB / 0.622 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1736, allocations: 43.58 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1739, allocations: 71.84 kB / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1741, allocations: 187.2 kB / 0.6223 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1743, allocations: 58.44 kB / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1745, allocations: 75.77 kB / 0.6224 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1746, allocations: 79.61 kB / 0.6225 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1747, allocations: 16 kB / 0.6225 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.1747, allocations: 16 kB / 0.6225 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.1748, allocations: 35.84 kB / 0.6225 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.1749, allocations: 67.73 kB / 0.6226 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1752, allocations: 187.1 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1752, allocations: 0 / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1752, allocations: 0 / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1752, allocations: 0 / 0.6228 GB, free: 14.17 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.0008331/0.176, allocations: 424.4 kB / 0.6232 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.176, allocations: 12.03 kB / 0.6232 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.1762, allocations: 32.78 kB / 0.6232 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1765, allocations: 155.3 kB / 0.6234 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.1766, allocations: 59.97 kB / 0.6234 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1766, allocations: 16.38 kB / 0.6235 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.1771, allocations: 165.6 kB / 0.6236 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1771, allocations: 0 / 0.6236 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1771, allocations: 8 kB / 0.6236 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1771, allocations: 8 kB / 0.6236 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.1776, allocations: 139.9 kB / 0.6238 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.1784, allocations: 404 kB / 0.6242 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1789, allocations: 118.7 kB / 0.6243 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1791, allocations: 84.67 kB / 0.6243 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1791, allocations: 0 / 0.6243 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1792, allocations: 38.56 kB / 0.6244 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 2.756e-06/0.1792, allocations: 7.984 kB / 0.6244 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007789/0.1799, allocations: 221.4 kB / 0.6246 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.18, allocations: 51.41 kB / 0.6246 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1801, allocations: 151.3 kB / 0.6248 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1802, allocations: 33.7 kB / 0.6248 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1803, allocations: 128.2 kB / 0.6249 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1803, allocations: 43.62 kB / 0.625 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1804, allocations: 29.7 kB / 0.625 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1805, allocations: 322.8 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1808, allocations: 63.88 kB / 0.6254 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.181, allocations: 82.53 kB / 0.6255 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.1814, allocations: 141.6 kB / 0.6256 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1814, allocations: 0 / 0.6256 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005483/0.182, allocations: 197.4 kB / 0.6258 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.182, allocations: 7.938 kB / 0.6258 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.182, allocations: 0 / 0.6258 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.182, allocations: 4 kB / 0.6258 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1822, allocations: 43.91 kB / 0.6258 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1822, allocations: 3.984 kB / 0.6258 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1824, allocations: 23.88 kB / 0.6259 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1824, allocations: 8.062 kB / 0.6259 GB, free: 10.8 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.0001434/0.1825, allocations: 129.8 kB / 0.626 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1826, allocations: 19.83 kB / 0.626 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1826, allocations: 17.47 kB / 0.626 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1826, allocations: 4 kB / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1826, allocations: 0 / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1826, allocations: 0 / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1829, allocations: 157.3 kB / 0.6262 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1829, allocations: 0 / 0.6262 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1831, allocations: 43.91 kB / 0.6262 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1831, allocations: 0 / 0.6262 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1831, allocations: 7.984 kB / 0.6262 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1831, allocations: 7.938 kB / 0.6262 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1831, allocations: 0 / 0.6262 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.1839, allocations: 342.5 kB / 0.6266 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.184, allocations: 15.88 kB / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.184, allocations: 8 kB / 0.6266 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1842, allocations: 15.97 kB / 0.6266 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1842, allocations: 19.97 kB / 0.6266 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1842, allocations: 0 / 0.6266 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.1843, allocations: 116.9 kB / 0.6267 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1843, allocations: 0 / 0.6267 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002735/0.1846, allocations: 39.94 kB / 0.6268 GB, free: 9.824 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.0001098/0.1847, allocations: 95.31 kB / 0.6269 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.1852, allocations: 135.8 kB / 0.627 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1852, allocations: 0 / 0.627 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1855, allocations: 87.94 kB / 0.6271 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1857, allocations: 12 kB / 0.6271 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/0.1867, allocations: 401.1 kB / 0.6275 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.1868, allocations: 103.6 kB / 0.6276 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.1868, allocations: 12.48 kB / 0.6276 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1869, allocations: 16.5 kB / 0.6276 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1869, allocations: 0 / 0.6276 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.005499/0.1924, allocations: 1.609 MB / 0.6292 GB, free: 7.34 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 ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.363240405917168] Failed to read output from testmodel.py, exit status != 0: 0.20210154505912215 0.216175581 0.037651956 Calling exit ...