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.001321/0.001321, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009931/0.0009931, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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.8441/0.8441, allocations: 154.6 MB / 414.8 MB, free: 0.4922 MB / 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. " [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.683e-06/1.683e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.721e-05, allocations: 2.812 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003053/0.00308, allocations: 2.114 MB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.004133, allocations: 0.5946 MB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004248, allocations: 7.938 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.004378, allocations: 16.45 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.00449, allocations: 50.8 kB / 482.8 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.004784, allocations: 72.41 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.004996, allocations: 191.7 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.005144, allocations: 55.78 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.005355, allocations: 111.7 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005461, allocations: 64.42 kB / 483.3 MB, free: 3.723 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.005485, allocations: 12.62 kB / 483.3 MB, free: 3.711 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.005549, allocations: 16 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.005579, allocations: 36.47 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.005623, allocations: 61.27 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005819, allocations: 127.5 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005822, allocations: 1.781 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005822, allocations: 0 / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005827, allocations: 4 kB / 483.5 MB, free: 3.473 MB / 442.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.0004476/0.006275, allocations: 380 kB / 483.9 MB, free: 3.082 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.006313, allocations: 8.906 kB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.00644, allocations: 32.91 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006609, allocations: 158.1 kB / 484.1 MB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.006681, allocations: 64.62 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.006717, allocations: 12.38 kB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.006912, allocations: 124.7 kB / 484.3 MB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.006924, allocations: 192 / 484.3 MB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.006943, allocations: 12.06 kB / 484.3 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006949, allocations: 4 kB / 484.3 MB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.007019, allocations: 35.81 kB / 484.3 MB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.007458, allocations: 304.9 kB / 484.6 MB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.007627, allocations: 67.03 kB / 484.7 MB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.00766, allocations: 22.58 kB / 484.7 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.007676, allocations: 0 / 484.7 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.007697, allocations: 42.5 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.007697, allocations: 0 / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001569/0.007854, allocations: 86.27 kB / 484.8 MB, free: 2.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.007883, allocations: 59.34 kB / 484.9 MB, free: 1.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.007967, allocations: 156.4 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.007984, allocations: 25.7 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.008037, allocations: 124.3 kB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.008065, allocations: 48.47 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.008104, allocations: 25.7 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.008196, allocations: 326.8 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.008223, allocations: 16.73 kB / 485.6 MB, free: 1.242 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.008263, allocations: 40.47 kB / 485.6 MB, free: 1.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.008334, allocations: 64.56 kB / 485.7 MB, free: 1.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008336, allocations: 0 / 485.7 MB, free: 1.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.94e-05/0.008436, allocations: 85.62 kB / 485.8 MB, free: 1.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008448, allocations: 8 kB / 485.8 MB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008453, allocations: 1.219 kB / 485.8 MB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008465, allocations: 3.938 kB / 485.8 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.008591, allocations: 43.91 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.0086, allocations: 1.031 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.00865, allocations: 15.94 kB / 485.9 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.008661, allocations: 8.516 kB / 485.9 MB, free: 0.9609 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.225e-05/0.008733, allocations: 114.8 kB / 486 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.008755, allocations: 11.94 kB / 486 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.008787, allocations: 22.55 kB / 486 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008791, allocations: 3.938 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008793, allocations: 0 / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008797, allocations: 2.344 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.008921, allocations: 113.8 kB / 486.1 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008923, allocations: 0 / 486.1 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.00901, allocations: 31.97 kB / 486.2 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009011, allocations: 0 / 486.2 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.009021, allocations: 4 kB / 486.2 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009022, allocations: 5.5 kB / 486.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.009025, allocations: 11.88 kB / 486.2 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.009186, allocations: 184.7 kB / 486.4 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.009201, allocations: 15.84 kB / 486.4 MB, free: 416 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.009215, allocations: 5.906 kB / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.009269, allocations: 11.98 kB / 486.4 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.009312, allocations: 19.91 kB / 486.4 MB, free: 380 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.009318, allocations: 4 kB / 486.4 MB, free: 376 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.82e-05/0.009346, allocations: 39.91 kB / 486.5 MB, free: 336 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009346, allocations: 0 / 486.5 MB, free: 336 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.009488, allocations: 32.98 kB / 486.5 MB, free: 304 kB / 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.976e-05/0.009567, allocations: 81.42 kB / 486.6 MB, free: 216 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.009671, allocations: 52.72 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.009674, allocations: 4.875 kB / 486.6 MB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.009716, allocations: 36.78 kB / 486.7 MB, free: 116 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.009879, allocations: 25.52 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.01059, allocations: 382.2 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01063, allocations: 71.33 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.01069, allocations: 8.297 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.01077, allocations: 67.36 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01077, allocations: 4.656 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of Templates: time 0.003477/0.01425, allocations: 1.652 MB / 488.9 MB, free: 14.02 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6160394339822233]