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.001291/0.001291, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001031/0.001031, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.8598/0.8598, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.7433/0.7433, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.543e-06/1.543e-06, allocations: 0.7656 kB / 0.5207 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.133e-05, allocations: 7.109 kB / 0.5207 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002412/0.002433, allocations: 2.057 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007134/0.003146, allocations: 0.5762 MB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.00323, allocations: 7.938 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003334, allocations: 29.48 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.003408, allocations: 43.58 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003618, allocations: 73.39 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003775, allocations: 191.1 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003898, allocations: 55.23 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.004067, allocations: 109 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.004157, allocations: 63.8 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.004178, allocations: 16 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.004227, allocations: 20.56 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.004254, allocations: 35.89 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.004294, allocations: 60.58 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004453, allocations: 127.5 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004456, allocations: 1.469 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.004458, allocations: 3.984 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004462, allocations: 0 / 0.5241 GB, free: 14.52 MB / 0.4948 GB 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.0004684/0.00493, allocations: 0.4932 MB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.004967, allocations: 11.66 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.00508, allocations: 36.8 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.00522, allocations: 160.3 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.005273, allocations: 67.95 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.005293, allocations: 12.38 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.005461, allocations: 118.9 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.00547, allocations: 192 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005481, allocations: 8.688 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005487, allocations: 4 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.005558, allocations: 44.45 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.005988, allocations: 410.2 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.006147, allocations: 87.14 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.006183, allocations: 33.41 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006201, allocations: 4 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.00622, allocations: 37.39 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/0.006221, allocations: 0 / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001713/0.006393, allocations: 101.5 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.006417, allocations: 61.44 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.006508, allocations: 207.5 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.006522, allocations: 29.7 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.00659, allocations: 175 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.006618, allocations: 51.5 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.006657, allocations: 27.38 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.006766, allocations: 0.5027 MB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.006792, allocations: 12 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.006834, allocations: 48.84 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.006903, allocations: 61.88 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006906, allocations: 4 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001183/0.007024, allocations: 115.1 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007035, allocations: 5.719 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007039, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.007052, allocations: 8.875 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.007141, allocations: 27.98 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.007144, allocations: 4.922 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.007192, allocations: 15.94 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.007199, allocations: 4.656 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB 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.112e-05/0.00727, allocations: 169.3 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.007293, allocations: 15.91 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.007326, allocations: 24.25 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.007328, allocations: 3.938 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.00733, allocations: 0 / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007332, allocations: 0 / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.007465, allocations: 141.1 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007467, allocations: 0 / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.007543, allocations: 31.97 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.007544, allocations: 0 / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.007552, allocations: 11.06 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007553, allocations: 0 / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007554, allocations: 0 / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.007741, allocations: 261.7 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.007756, allocations: 15.84 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.007769, allocations: 4 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.007826, allocations: 11.98 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.007862, allocations: 19.2 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.007867, allocations: 3.984 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.007916, allocations: 158.2 kB / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007917, allocations: 0 / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001603/0.008077, allocations: 31.95 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB 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.837e-05/0.008155, allocations: 99.19 kB / 0.5279 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.008259, allocations: 63.53 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00826, allocations: 3.594 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.008301, allocations: 35.67 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.00851, allocations: 31.91 kB / 0.5281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.00915, allocations: 369.8 kB / 0.5284 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.009186, allocations: 67.33 kB / 0.5285 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.009227, allocations: 11.41 kB / 0.5285 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.009311, allocations: 86.19 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.009312, allocations: 0 / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.0033/0.01261, allocations: 1.794 MB / 0.5303 GB, free: 7.965 MB / 0.4948 GB " [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.2690160288475454]