Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009444/0.0009444, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0008743/0.0008743, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7989/0.7989, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5205 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.124e-05, allocations: 11.09 kB / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002525/0.002557, allocations: 2.066 MB / 0.5226 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.003427, allocations: 0.5788 MB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003534, allocations: 4.969 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.00366, allocations: 19.73 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.003746, allocations: 49.31 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.004024, allocations: 72.28 kB / 0.5233 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.004271, allocations: 195.2 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.004432, allocations: 54.98 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.004669, allocations: 108.8 kB / 0.5236 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004776, allocations: 63.78 kB / 0.5237 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.004802, allocations: 17 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.004853, allocations: 23.94 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.004881, allocations: 27.91 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.004934, allocations: 64.45 kB / 0.5238 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.005144, allocations: 124.9 kB / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005146, allocations: 0 / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.005148, allocations: 0 / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.005153, allocations: 0 / 0.5239 GB, free: 14.88 MB / 0.4948 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.0005698/0.005722, allocations: 0.4983 MB / 0.5244 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.00576, allocations: 8.031 kB / 0.5244 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.0059, allocations: 40.78 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.006101, allocations: 157 kB / 0.5246 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.006178, allocations: 63.97 kB / 0.5247 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.006205, allocations: 13.66 kB / 0.5247 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.006425, allocations: 130.8 kB / 0.5248 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.006438, allocations: 0.9375 kB / 0.5248 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.006452, allocations: 12.06 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.006462, allocations: 4.594 kB / 0.5248 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.006574, allocations: 52.81 kB / 0.5249 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.007111, allocations: 440.1 kB / 0.5253 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.007328, allocations: 89.83 kB / 0.5254 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.007382, allocations: 35.66 kB / 0.5254 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.007397, allocations: 4 kB / 0.5254 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.007418, allocations: 41.38 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.00742, allocations: 0 / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002314/0.007651, allocations: 117.4 kB / 0.5256 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.007681, allocations: 56.88 kB / 0.5256 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007795, allocations: 208.5 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.00781, allocations: 25.7 kB / 0.5258 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.007879, allocations: 175 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.007905, allocations: 40.16 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.007949, allocations: 44.39 kB / 0.5261 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.008066, allocations: 0.4923 MB / 0.5266 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.008106, allocations: 15.98 kB / 0.5266 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.008164, allocations: 53.64 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.008249, allocations: 67.55 kB / 0.5267 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008251, allocations: 4 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001354/0.008386, allocations: 114.5 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.0084, allocations: 7.938 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008404, allocations: 0.875 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.008418, allocations: 4 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.008514, allocations: 38.67 kB / 0.5269 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.00852, allocations: 4 kB / 0.5269 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.00857, allocations: 15.92 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.008579, allocations: 4 kB / 0.5269 GB, free: 11.62 MB / 0.4948 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 7.782e-05/0.008657, allocations: 164.6 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.008681, allocations: 18.69 kB / 0.5271 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.008711, allocations: 25.39 kB / 0.5271 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008713, allocations: 0 / 0.5271 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.008717, allocations: 0 / 0.5271 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00872, allocations: 0 / 0.5271 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.008863, allocations: 180.4 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008864, allocations: 0 / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.008946, allocations: 23.98 kB / 0.5273 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.008947, allocations: 5.344 kB / 0.5273 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.008959, allocations: 7.984 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008961, allocations: 3.938 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008962, allocations: 0.625 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.009182, allocations: 251.9 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.009197, allocations: 23.19 kB / 0.5275 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.009215, allocations: 11.98 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.009272, allocations: 7.938 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.009319, allocations: 15.97 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.009325, allocations: 7.938 kB / 0.5276 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.009383, allocations: 160.8 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009384, allocations: 0 / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001651/0.009549, allocations: 35.95 kB / 0.5278 GB, free: 10.64 MB / 0.4948 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 7.645e-05/0.009625, allocations: 97.7 kB / 0.5279 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.009765, allocations: 77.55 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009767, allocations: 0 / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.009829, allocations: 39.61 kB / 0.528 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01007, allocations: 26 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.01082, allocations: 371.1 kB / 0.5284 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.01087, allocations: 67.34 kB / 0.5284 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.01091, allocations: 11.17 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.01095, allocations: 16.5 kB / 0.5285 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01095, allocations: 0.8125 kB / 0.5285 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.003307/0.01426, allocations: 1.614 MB / 0.53 GB, free: 8.383 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8512243900913745]