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.001002/0.001002, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002259, 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.0009695/0.0009695, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002205, 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1316/1.172, 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/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.7945/0.7945, allocations: 154.6 MB / 398.5 MB, free: 496 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.2923/1.087, allocations: 49.04 MB / 447.6 MB, free: 6.66 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.393e-06/1.393e-06, allocations: 0 / 448.8 MB, free: 5.414 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.838e-05, allocations: 5.594 kB / 448.8 MB, free: 5.41 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.005851/0.005869, allocations: 2.116 MB / 451 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.00688, allocations: 0.6009 MB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.006971, allocations: 0.6562 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.007041, allocations: 28.72 kB / 451.6 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.00714, allocations: 51.62 kB / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.007312, allocations: 71.78 kB / 451.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.007512, allocations: 190.2 kB / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.007651, allocations: 51.16 kB / 452 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.007867, allocations: 128.4 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.007975, allocations: 65.67 kB / 452.1 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.008002, allocations: 16 kB / 452.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.008071, allocations: 19.98 kB / 452.2 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.0081, allocations: 27.88 kB / 452.2 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.008149, allocations: 43.94 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.008331, allocations: 116.4 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.008347, allocations: 4 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.008347, allocations: 0 / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.008364, allocations: 1.281 kB / 452.4 MB, free: 1.953 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.003579/0.01194, allocations: 422.5 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.01197, allocations: 9.094 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.01212, allocations: 110 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.01228, allocations: 137.8 kB / 453 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.01235, allocations: 67.95 kB / 453.1 MB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.01237, allocations: 13 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.01269, allocations: 128.1 kB / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.0127, allocations: 0 / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.01271, allocations: 4.984 kB / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.01272, allocations: 4 kB / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.0128, allocations: 37.98 kB / 453.3 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.01324, allocations: 300.4 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.01342, allocations: 69.27 kB / 453.6 MB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.01346, allocations: 32.84 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.01347, allocations: 4.609 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.0135, allocations: 42.44 kB / 453.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.0135, allocations: 3.312 kB / 453.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001808/0.01368, allocations: 77.61 kB / 453.8 MB, free: 420 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.01371, allocations: 51.41 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.0138, allocations: 156 kB / 454 MB, free: 188 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.01381, allocations: 25.7 kB / 454 MB, free: 156 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.01387, allocations: 128.2 kB / 454.1 MB, free: 24 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.01392, allocations: 43.75 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.01396, allocations: 29.62 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.01404, allocations: 326.8 kB / 454.5 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.01407, allocations: 8.906 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.01412, allocations: 44.31 kB / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.01419, allocations: 58.12 kB / 454.6 MB, free: 15.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01419, allocations: 0 / 454.6 MB, free: 15.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001142/0.01431, allocations: 90.34 kB / 454.7 MB, free: 15.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01432, allocations: 8.438 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01433, allocations: 4.688 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.01433, allocations: 0 / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/0.0175, allocations: 40.53 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01751, allocations: 12.48 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.01757, allocations: 24.5 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.01758, allocations: 0.625 kB / 454.8 MB, free: 15.32 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 7.14e-05/0.01765, allocations: 114.8 kB / 454.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.01768, allocations: 19.86 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.01772, allocations: 21.47 kB / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01772, allocations: 1.719 kB / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01772, allocations: 0 / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01772, allocations: 0 / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01788, allocations: 115.5 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01788, allocations: 0.9062 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01799, allocations: 39.97 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.018, allocations: 8.953 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01801, allocations: 3.938 kB / 455.1 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01801, allocations: 0 / 455.1 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01802, allocations: 1.312 kB / 455.1 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01802, allocations: 3.984 kB / 455.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.01819, allocations: 191.4 kB / 455.3 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01821, allocations: 8.531 kB / 455.3 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.01829, allocations: 17.2 kB / 455.4 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.01833, allocations: 15.97 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01833, allocations: 4 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.81e-05/0.01837, allocations: 40.22 kB / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01837, allocations: 0 / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.01857, allocations: 35.94 kB / 455.5 MB, free: 14.65 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.003e-05/0.01864, allocations: 77.58 kB / 455.5 MB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01875, allocations: 61.83 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.01876, allocations: 7.984 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.01881, allocations: 30.3 kB / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.019, allocations: 31.98 kB / 455.7 MB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.02437, allocations: 369 kB / 456 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.02442, allocations: 71.33 kB / 456.1 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.02448, allocations: 12.47 kB / 456.1 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.02457, allocations: 75.3 kB / 456.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02457, allocations: 0.8438 kB / 456.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of Templates: time 0.007397/0.03197, allocations: 1.725 MB / 457.9 MB, free: 12.29 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.7298522125929594]