Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001064/0.001064, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.002864, allocations: 448 kB / 10.42 MB, free: 276 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.001138/0.001138, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002863, allocations: 475.5 kB / 11.8 MB, free: 2.371 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09974/1.128, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8106/0.8106, allocations: 154.6 MB / 398.8 MB, free: 392 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.2338/1.044, allocations: 49.04 MB / 447.8 MB, free: 6.59 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 449.1 MB, free: 5.316 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.273e-05, allocations: 4.938 kB / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003581/0.003604, allocations: 2.125 MB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.004601, allocations: 0.5997 MB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.004705, allocations: 9.375 kB / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.9e-05/0.004794, allocations: 15.8 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.004916, allocations: 51.3 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.005127, allocations: 72.66 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.005373, allocations: 194.2 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.005522, allocations: 47.69 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.005795, allocations: 132.4 kB / 452.4 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.005932, allocations: 57.08 kB / 452.4 MB, free: 2.082 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.005962, allocations: 15.94 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.006041, allocations: 20 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.006079, allocations: 30.3 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.006137, allocations: 47.88 kB / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.006353, allocations: 111.5 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.006367, allocations: 0 / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.006369, allocations: 0 / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.006386, allocations: 0 / 452.6 MB, free: 1.863 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.0007021/0.007088, allocations: 423.3 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.007127, allocations: 9.312 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.007344, allocations: 110 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.00756, allocations: 148.8 kB / 453.3 MB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.007639, allocations: 64.75 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.007673, allocations: 12.38 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.007908, allocations: 127.7 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.00792, allocations: 0 / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.007933, allocations: 4.531 kB / 453.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.007941, allocations: 4.5 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.008046, allocations: 41.97 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.008589, allocations: 297.9 kB / 453.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.008816, allocations: 66.53 kB / 453.9 MB, free: 496 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.008868, allocations: 29.69 kB / 453.9 MB, free: 464 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.008888, allocations: 7.938 kB / 453.9 MB, free: 456 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.008917, allocations: 35.95 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.008919, allocations: 0.8438 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002293/0.009148, allocations: 77.67 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.009184, allocations: 56.12 kB / 454.1 MB, free: 260 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.009298, allocations: 147.3 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.009321, allocations: 30.86 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.009412, allocations: 136.1 kB / 454.4 MB, free: 15.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.009449, allocations: 39.67 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.0095, allocations: 27.64 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.009603, allocations: 330.8 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.00964, allocations: 15.94 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.009693, allocations: 32.95 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.009785, allocations: 60.66 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009787, allocations: 4 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001454/0.009933, allocations: 89.5 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.009949, allocations: 9.5 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009953, allocations: 5.188 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.00997, allocations: 4 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.01017, allocations: 35.97 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01017, allocations: 5.016 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.01025, allocations: 23.88 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.01026, allocations: 4.844 kB / 455.1 MB, free: 15.22 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.542e-05/0.01034, allocations: 118.6 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.01038, allocations: 19.92 kB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.01042, allocations: 18.16 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01042, allocations: 4 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01042, allocations: 0.5625 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01043, allocations: 3.984 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01061, allocations: 118.3 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01062, allocations: 0.625 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.01077, allocations: 28.61 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01079, allocations: 9.688 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.01079, allocations: 8.562 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01081, allocations: 3.984 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01081, allocations: 0.5938 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01081, allocations: 0.8125 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.01103, allocations: 197.1 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01106, allocations: 13.7 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.01116, allocations: 8 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.0112, allocations: 15.97 kB / 455.7 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01121, allocations: 4 kB / 455.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.01125, allocations: 35.81 kB / 455.7 MB, free: 14.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01125, allocations: 0 / 455.7 MB, free: 14.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.0115, allocations: 41.38 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 0.0001041/0.0116, allocations: 76.42 kB / 455.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01174, allocations: 62.52 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.01175, allocations: 4 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.01182, allocations: 40.78 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01212, allocations: 136.6 kB / 456 MB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.01484, allocations: 366.8 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01488, allocations: 72.08 kB / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.01493, allocations: 11.58 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.01501, allocations: 72.36 kB / 456.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01501, allocations: 0 / 456.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of Templates: time 0.004478/0.01949, allocations: 1.704 MB / 458.3 MB, free: 12.08 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610137214884162]