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.001334/0.001334, allocations: 89.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001667/0.001667, allocations: 165 kB / 23.01 MB, free: 1.555 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8325/0.8325, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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_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.984e-06/1.984e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.232e-05, allocations: 6.016 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003846/0.003878, allocations: 2.069 MB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.005132, allocations: 0.5774 MB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005271, allocations: 4 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.005423, allocations: 23.67 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.005562, allocations: 49.28 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.005913, allocations: 71.78 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.006208, allocations: 191.1 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.0064, allocations: 51.88 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.006694, allocations: 111.7 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.006837, allocations: 55.86 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.006873, allocations: 16.53 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.006947, allocations: 27.86 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.006987, allocations: 32.66 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.007065, allocations: 63.83 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.007333, allocations: 125 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007337, allocations: 0 / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.007338, allocations: 0 / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.007344, allocations: 0 / 0.5237 GB, free: 14.77 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.0007231/0.008067, allocations: 0.4968 MB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.00811, allocations: 8.031 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.008312, allocations: 48.72 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.008552, allocations: 156.4 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.008646, allocations: 63.97 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.008685, allocations: 16.31 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.009005, allocations: 126.9 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.00902, allocations: 0.75 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.00904, allocations: 8.125 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.009051, allocations: 4.562 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.009233, allocations: 52.91 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.009998, allocations: 440.6 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.01031, allocations: 83.22 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.01039, allocations: 32.52 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01041, allocations: 7.938 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.01044, allocations: 39.8 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.01044, allocations: 0 / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003244/0.01077, allocations: 121 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.0108, allocations: 55.41 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01095, allocations: 203.5 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01097, allocations: 29.7 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01108, allocations: 177.8 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.01112, allocations: 39.59 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.01118, allocations: 39.36 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01134, allocations: 0.4962 MB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.0114, allocations: 23.92 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.01149, allocations: 52.17 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01163, allocations: 68.23 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01163, allocations: 4 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002361/0.01187, allocations: 117.3 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01189, allocations: 7.938 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01189, allocations: 0.9375 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.01191, allocations: 4 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01208, allocations: 36.58 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01209, allocations: 3.984 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.01218, allocations: 17.02 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.0122, allocations: 4 kB / 0.5266 GB, free: 11.51 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 0.0001044/0.0123, allocations: 163 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.01235, allocations: 19.91 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.01239, allocations: 25.39 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.0124, allocations: 3.938 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.0124, allocations: 0 / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01241, allocations: 3.984 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01263, allocations: 175.7 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01263, allocations: 0 / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.01277, allocations: 23.98 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01278, allocations: 4 kB / 0.527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.0128, allocations: 7.984 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.0128, allocations: 3.938 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0128, allocations: 0 / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.01315, allocations: 259.8 kB / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01317, allocations: 17.41 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.0132, allocations: 8 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.01331, allocations: 11.92 kB / 0.5273 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.01338, allocations: 15.97 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.01339, allocations: 7.594 kB / 0.5273 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.01348, allocations: 158.2 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01348, allocations: 0 / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003099/0.01379, allocations: 35.95 kB / 0.5275 GB, free: 10.54 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 0.0001161/0.01391, allocations: 95.23 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01412, allocations: 75.53 kB / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01412, allocations: 0 / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.01421, allocations: 42.89 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01456, allocations: 25.86 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.01573, allocations: 366.9 kB / 0.5281 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.01579, allocations: 67.34 kB / 0.5282 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.507e-05/0.01586, allocations: 18.25 kB / 0.5282 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.01592, allocations: 13.22 kB / 0.5282 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.01593, allocations: 0 / 0.5282 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of Templates: time 0.00584/0.02176, allocations: 1.629 MB / 0.5298 GB, free: 8.27 MB / 0.4948 GB " [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: 4.011243439279497]