Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008441/0.0008441, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002116, 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.0007316/0.0007316, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.001707, 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0903/1.095, allocations: 53.66 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7684/0.7684, allocations: 154.6 MB / 398.8 MB, free: 400 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2708/1.039, allocations: 49.05 MB / 447.8 MB, free: 6.586 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/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 449.1 MB, free: 5.316 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.536e-06/9.759e-06, allocations: 6.906 kB / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002044/0.002054, allocations: 2.128 MB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.002714, allocations: 0.5964 MB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.002789, allocations: 0 / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.175e-05/0.002851, allocations: 30.2 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.002924, allocations: 48.38 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.003063, allocations: 73.75 kB / 452 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003219, allocations: 188.6 kB / 452.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003331, allocations: 51.16 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.003516, allocations: 128.4 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.003606, allocations: 60.52 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.003629, allocations: 16.62 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.003689, allocations: 19.98 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.003715, allocations: 28.56 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.003752, allocations: 47.88 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.003894, allocations: 110.5 kB / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.003904, allocations: 0 / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003905, allocations: 0 / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.003915, allocations: 3.984 kB / 452.6 MB, free: 1.855 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.0004671/0.004382, allocations: 421.8 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.00441, allocations: 8.938 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.004543, allocations: 110 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.004685, allocations: 146.6 kB / 453.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.004986, allocations: 63.97 kB / 453.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.005011, allocations: 14.86 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.00517, allocations: 131.2 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005177, allocations: 0 / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005187, allocations: 5.281 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.005192, allocations: 4 kB / 453.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.00526, allocations: 33.03 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.005637, allocations: 305.5 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.005784, allocations: 67.02 kB / 453.9 MB, free: 488 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.005814, allocations: 30.11 kB / 453.9 MB, free: 456 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.005829, allocations: 4 kB / 453.9 MB, free: 452 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.005847, allocations: 38.5 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.005848, allocations: 0 / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001364/0.005984, allocations: 78.23 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.006007, allocations: 56.61 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.006075, allocations: 155.3 kB / 454.3 MB, free: 84 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006089, allocations: 25.7 kB / 454.3 MB, free: 52 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.006145, allocations: 125 kB / 454.4 MB, free: 15.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.006171, allocations: 43.67 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.006207, allocations: 33.69 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.006272, allocations: 328 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.006292, allocations: 8 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.006329, allocations: 40.89 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/0.00639, allocations: 66.69 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006392, allocations: 0 / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.613e-05/0.006478, allocations: 85.59 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006489, allocations: 11.94 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006493, allocations: 1.281 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006503, allocations: 0 / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.006628, allocations: 41.31 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006633, allocations: 7.922 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.006679, allocations: 23.88 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.006687, allocations: 4.938 kB / 455.1 MB, free: 15.21 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 5.767e-05/0.006744, allocations: 113.8 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.006764, allocations: 13.81 kB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.00679, allocations: 18.56 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.006794, allocations: 8 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.006795, allocations: 0 / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006798, allocations: 4.609 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.00691, allocations: 113.7 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006912, allocations: 4.625 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.007004, allocations: 32.55 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.007016, allocations: 7.953 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.00702, allocations: 8.547 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.007029, allocations: 4.625 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.007031, allocations: 4 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007032, allocations: 0.625 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.007178, allocations: 185.8 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.007194, allocations: 11.92 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.00725, allocations: 8.812 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.007287, allocations: 19.53 kB / 455.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.007291, allocations: 4 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.007318, allocations: 39.16 kB / 455.7 MB, free: 14.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007318, allocations: 0 / 455.7 MB, free: 14.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.007455, allocations: 35.94 kB / 455.7 MB, free: 14.55 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 6.421e-05/0.007519, allocations: 82.14 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.007623, allocations: 64.75 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.007629, allocations: 1.281 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.007679, allocations: 44.72 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007879, allocations: 141.5 kB / 456 MB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.009722, allocations: 363.9 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.009772, allocations: 67.34 kB / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.009833, allocations: 15.53 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.009918, allocations: 71.36 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009919, allocations: 0 / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of Templates: time 0.003297/0.01322, allocations: 1.71 MB / 458.3 MB, free: 12.07 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4642885252833366]