Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.0007025/0.0007025, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.001643, allocations: 440 kB / 10.41 MB, free: 284 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.0006934/0.0006934, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009389/0.001632, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09931/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.8072/0.8072, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2796/1.087, allocations: 49.13 MB / 448.6 MB, free: 5.898 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 449.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.39e-05, allocations: 5.328 kB / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002461/0.002485, allocations: 2.126 MB / 452 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007398/0.003225, allocations: 0.6026 MB / 452.7 MB, free: 1.926 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.003307, allocations: 0.5 kB / 452.7 MB, free: 1.926 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.382e-05/0.003381, allocations: 28.59 kB / 452.7 MB, free: 1.898 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.003466, allocations: 43.39 kB / 452.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.003634, allocations: 76.41 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.003826, allocations: 192.7 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.003997, allocations: 63.09 kB / 453 MB, free: 1.555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.004217, allocations: 116.5 kB / 453.2 MB, free: 1.441 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004329, allocations: 59.8 kB / 453.2 MB, free: 1.383 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.004356, allocations: 19.94 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.004425, allocations: 20.88 kB / 453.3 MB, free: 1.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.004457, allocations: 27.88 kB / 453.3 MB, free: 1.316 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.004498, allocations: 47.88 kB / 453.3 MB, free: 1.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.004686, allocations: 112.6 kB / 453.4 MB, free: 1.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.0047, allocations: 0 / 453.4 MB, free: 1.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004701, allocations: 0.8438 kB / 453.4 MB, free: 1.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.00471, allocations: 0 / 453.4 MB, free: 1.16 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.0005229/0.005233, allocations: 423.6 kB / 453.9 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.005267, allocations: 8.031 kB / 453.9 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.005438, allocations: 110.6 kB / 454 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005628, allocations: 142.2 kB / 454.1 MB, free: 440 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.005697, allocations: 63.97 kB / 454.2 MB, free: 364 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.005724, allocations: 16.94 kB / 454.2 MB, free: 348 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.005909, allocations: 123 kB / 454.3 MB, free: 216 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00592, allocations: 5.094 kB / 454.3 MB, free: 212 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005933, allocations: 4.75 kB / 454.3 MB, free: 208 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.00594, allocations: 4 kB / 454.3 MB, free: 204 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.006019, allocations: 41.05 kB / 454.4 MB, free: 164 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.006466, allocations: 301.7 kB / 454.7 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.006645, allocations: 71.62 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.006677, allocations: 21.98 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006693, allocations: 0 / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.006718, allocations: 50.42 kB / 454.8 MB, free: 15.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.00672, allocations: 0.625 kB / 454.8 MB, free: 15.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002148/0.006935, allocations: 78.27 kB / 454.9 MB, free: 15.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.006962, allocations: 60.69 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.007046, allocations: 152.3 kB / 455.1 MB, free: 15.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.007063, allocations: 25.7 kB / 455.1 MB, free: 15.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.007119, allocations: 128.8 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.007149, allocations: 39.69 kB / 455.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.007187, allocations: 32.44 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.007265, allocations: 322.8 kB / 455.6 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.007289, allocations: 15.98 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.007325, allocations: 36.39 kB / 455.7 MB, free: 14.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.007396, allocations: 67.7 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007398, allocations: 0 / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001042/0.007502, allocations: 85.78 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.007517, allocations: 16.91 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007521, allocations: 0 / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.007534, allocations: 0 / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.007692, allocations: 44.5 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007695, allocations: 1.094 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.007743, allocations: 15.89 kB / 455.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.007754, allocations: 4.625 kB / 455.9 MB, free: 14.52 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 8.089e-05/0.007835, allocations: 126.4 kB / 456 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.007858, allocations: 13.12 kB / 456 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.007896, allocations: 17.45 kB / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.0079, allocations: 4.625 kB / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.007902, allocations: 0 / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.007906, allocations: 0.625 kB / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.008044, allocations: 113.7 kB / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.008048, allocations: 7.344 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.008152, allocations: 32.56 kB / 456.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.008167, allocations: 12.75 kB / 456.2 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.00817, allocations: 3.938 kB / 456.2 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.008181, allocations: 9.781 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.008184, allocations: 3.938 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008185, allocations: 0 / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.008358, allocations: 187.4 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008375, allocations: 7.938 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.00843, allocations: 12.8 kB / 456.4 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.008471, allocations: 16.97 kB / 456.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.008478, allocations: 4 kB / 456.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.008509, allocations: 36.11 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008509, allocations: 0.6562 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.008645, allocations: 31.94 kB / 456.5 MB, free: 13.85 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 0.0001003/0.008745, allocations: 89.56 kB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.008857, allocations: 57.33 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.008865, allocations: 5.125 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.008916, allocations: 38.16 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.00915, allocations: 147.9 kB / 456.9 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.01102, allocations: 364.8 kB / 457.2 MB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.01106, allocations: 79.19 kB / 457.3 MB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.01112, allocations: 6.328 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.0112, allocations: 68.08 kB / 457.4 MB, free: 12.94 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.0112, allocations: 0 / 457.4 MB, free: 12.94 MB / 442.7 MB Notification: Performance of Templates: time 0.003645/0.01485, allocations: 1.71 MB / 459.1 MB, free: 11.37 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.643778662197292]