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.00095/0.00095, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002196, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009576/0.0009576, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.00214, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.079/1.079, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09943/1.178, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8011/0.8011, allocations: 155.3 MB / 399.3 MB, free: 15.89 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2994/1.1, allocations: 49.12 MB / 448.4 MB, free: 5.984 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.734e-06/1.734e-06, allocations: 0 / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.435e-05, allocations: 3.375 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002404/0.002418, allocations: 2.121 MB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.003155, allocations: 0.6007 MB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.003242, allocations: 4.906 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.274e-05/0.003315, allocations: 24.61 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.003407, allocations: 44.03 kB / 452.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.003565, allocations: 75.72 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003752, allocations: 188.7 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.003895, allocations: 61.5 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.004103, allocations: 124.3 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.004238, allocations: 61.48 kB / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.004272, allocations: 16 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.00435, allocations: 20 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.004378, allocations: 27.88 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.004422, allocations: 49.84 kB / 453.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004591, allocations: 107.6 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.004606, allocations: 4 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004607, allocations: 0 / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.004625, allocations: 0 / 453.2 MB, free: 1.277 MB / 426.7 MB 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.0006057/0.005231, allocations: 419.5 kB / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.005263, allocations: 12.03 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.005413, allocations: 110.6 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.005586, allocations: 143.8 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.005653, allocations: 63.97 kB / 453.9 MB, free: 484 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.005676, allocations: 12.38 kB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.005843, allocations: 126.4 kB / 454 MB, free: 336 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005852, allocations: 5.406 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005864, allocations: 4 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005873, allocations: 4 kB / 454.1 MB, free: 324 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.005947, allocations: 32.5 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.006374, allocations: 305.8 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.006552, allocations: 71.91 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.00658, allocations: 16.86 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.006596, allocations: 4.906 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.00662, allocations: 42.48 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.006621, allocations: 7.938 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001722/0.006793, allocations: 81.83 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.006825, allocations: 55.34 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.006923, allocations: 158.2 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.006941, allocations: 25.7 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.007006, allocations: 129.5 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.007042, allocations: 39.67 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.007084, allocations: 29.7 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.007182, allocations: 323.5 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.007206, allocations: 11.98 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.00725, allocations: 44.94 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.00732, allocations: 61.41 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.007322, allocations: 0 / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.789e-05/0.00742, allocations: 86.62 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.007434, allocations: 7.938 kB / 455.6 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007438, allocations: 3.938 kB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.007448, allocations: 4.719 kB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.007594, allocations: 45.41 kB / 455.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007597, allocations: 0 / 455.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.007641, allocations: 19.89 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.007648, allocations: 4 kB / 455.6 MB, free: 14.64 MB / 442.7 MB 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 6.608e-05/0.007714, allocations: 123.8 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.007735, allocations: 11.94 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.007764, allocations: 21.45 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007765, allocations: 0 / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.00777, allocations: 0 / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.007773, allocations: 0.6875 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.007895, allocations: 114.4 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007895, allocations: 0 / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.007985, allocations: 34.14 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.007997, allocations: 15.94 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007999, allocations: 3.938 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.008008, allocations: 8.625 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008009, allocations: 0 / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00801, allocations: 0.5625 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.008167, allocations: 192 kB / 456.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.008183, allocations: 7.938 kB / 456.2 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.008236, allocations: 12.61 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.008274, allocations: 16.59 kB / 456.2 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.008278, allocations: 0 / 456.2 MB, free: 14.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.566e-05/0.008303, allocations: 43.08 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008303, allocations: 0.625 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.008437, allocations: 35.92 kB / 456.3 MB, free: 13.98 MB / 442.7 MB 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.082e-05/0.008508, allocations: 87.03 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.008611, allocations: 58.16 kB / 456.4 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.00862, allocations: 4 kB / 456.4 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.008659, allocations: 32.84 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.008829, allocations: 33.12 kB / 456.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.01064, allocations: 367.6 kB / 456.8 MB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.01068, allocations: 76.5 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.01072, allocations: 10.2 kB / 456.9 MB, free: 13.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.0108, allocations: 76.91 kB / 457 MB, free: 13.2 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0108, allocations: 0 / 457 MB, free: 13.2 MB / 442.7 MB Notification: Performance of Templates: time 0.0036/0.01441, allocations: 1.731 MB / 458.7 MB, free: 11.61 MB / 442.7 MB " [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.6381299858912826]