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.0007675/0.0007675, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001036/0.001036, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9073/0.9073, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7951/0.7951, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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.804e-06/1.804e-06, allocations: 0 / 0.5215 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.173e-05, allocations: 5.375 kB / 0.5215 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002372/0.002394, allocations: 2.069 MB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.003118, allocations: 0.5731 MB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.003204, allocations: 0 / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.281e-05/0.003297, allocations: 27.72 kB / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.003376, allocations: 51.95 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.003575, allocations: 64.59 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.003733, allocations: 199 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003843, allocations: 55.33 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.003998, allocations: 112.7 kB / 0.5246 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.004081, allocations: 55.86 kB / 0.5246 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.004101, allocations: 12 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.004146, allocations: 28.91 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.004174, allocations: 31.84 kB / 0.5247 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.004214, allocations: 56.42 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.004366, allocations: 131.4 kB / 0.5249 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004369, allocations: 8.969 kB / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.2e-07/0.00437, allocations: 0 / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004373, allocations: 0 / 0.5249 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.0003891/0.004762, allocations: 0.4908 MB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.004789, allocations: 8.031 kB / 0.5254 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.004888, allocations: 44.78 kB / 0.5254 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.005021, allocations: 160.9 kB / 0.5255 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.005065, allocations: 61.44 kB / 0.5256 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.005085, allocations: 16.38 kB / 0.5256 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.005231, allocations: 114.9 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005238, allocations: 1 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.00525, allocations: 8.125 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005254, allocations: 5.094 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.005321, allocations: 39.94 kB / 0.5258 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.005722, allocations: 417.8 kB / 0.5262 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.005879, allocations: 83.19 kB / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.005915, allocations: 32.2 kB / 0.5263 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.005927, allocations: 0 / 0.5263 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.005947, allocations: 46.09 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 7.01e-07/0.005948, allocations: 0 / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001514/0.006099, allocations: 102.2 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.006122, allocations: 55.41 kB / 0.5265 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.006205, allocations: 204.4 kB / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.006218, allocations: 29.7 kB / 0.5267 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.006283, allocations: 176.5 kB / 0.5269 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.006309, allocations: 39.59 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.006349, allocations: 43.34 kB / 0.527 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006461, allocations: 0.4962 MB / 0.5274 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.006486, allocations: 16.48 kB / 0.5275 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.006526, allocations: 48.22 kB / 0.5275 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.006588, allocations: 59.05 kB / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00659, allocations: 2.75 kB / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001106/0.006701, allocations: 112.5 kB / 0.5277 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.006712, allocations: 7.984 kB / 0.5277 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006715, allocations: 3.938 kB / 0.5277 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.006723, allocations: 7.938 kB / 0.5277 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.006805, allocations: 27.98 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006808, allocations: 2.469 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.006857, allocations: 15.92 kB / 0.5277 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.006864, allocations: 8 kB / 0.5277 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.032e-05/0.006935, allocations: 164.5 kB / 0.5279 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.006959, allocations: 15.91 kB / 0.5279 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.006984, allocations: 22.08 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.006987, allocations: 4.969 kB / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.006989, allocations: 0 / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006992, allocations: 0 / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.00712, allocations: 149.7 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007121, allocations: 0 / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.007194, allocations: 24.77 kB / 0.5281 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.007196, allocations: 4 kB / 0.5281 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007205, allocations: 4.656 kB / 0.5281 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007206, allocations: 3.438 kB / 0.5281 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007207, allocations: 3.984 kB / 0.5281 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.007387, allocations: 259.7 kB / 0.5284 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.0074, allocations: 15.84 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.007412, allocations: 0 / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.007469, allocations: 15.98 kB / 0.5284 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.007504, allocations: 19.91 kB / 0.5284 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.00751, allocations: 4 kB / 0.5284 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.489e-05/0.007565, allocations: 154.2 kB / 0.5286 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007565, allocations: 2.75 kB / 0.5286 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001644/0.007729, allocations: 35.95 kB / 0.5286 GB, free: 10.43 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 6.147e-05/0.007791, allocations: 99.25 kB / 0.5287 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.007885, allocations: 57.89 kB / 0.5288 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.007886, allocations: 0.5625 kB / 0.5288 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.007928, allocations: 43.59 kB / 0.5288 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.0001862/0.008114, allocations: 24 kB / 0.5288 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.008718, allocations: 368.5 kB / 0.5292 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.008755, allocations: 71.33 kB / 0.5292 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.008801, allocations: 10.58 kB / 0.5292 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.008877, allocations: 90.19 kB / 0.5293 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.008878, allocations: 0 / 0.5293 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.00312/0.012, allocations: 1.833 MB / 0.5311 GB, free: 7.918 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.5465436629019678]