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.0009392/0.0009392, allocations: 92.22 kB / 19.65 MB, free: 276 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.001099/0.001099, allocations: 173 kB / 23.03 MB, free: 1.543 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.9166/0.9166, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7575/0.7575, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.253e-06/1.253e-06, allocations: 0 / 0.5203 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.336e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002129/0.002142, allocations: 2.07 MB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.002888, allocations: 0.5837 MB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.002972, allocations: 1.281 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.00309, allocations: 23.73 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.003171, allocations: 48.84 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.003415, allocations: 71.78 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.003602, allocations: 191.9 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.003733, allocations: 55.38 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.003905, allocations: 109.6 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.003996, allocations: 63.8 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.004021, allocations: 16 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.00407, allocations: 19.94 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.004097, allocations: 37.91 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.004143, allocations: 55.89 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004323, allocations: 127.5 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004325, allocations: 0 / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.004326, allocations: 0 / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.00433, allocations: 0 / 0.5237 GB, free: 14.8 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.0005964/0.004926, allocations: 0.4905 MB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.004962, allocations: 12.03 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.005091, allocations: 44.72 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.00527, allocations: 165.3 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.005343, allocations: 63.97 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.005371, allocations: 17.19 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.005586, allocations: 127.3 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.005597, allocations: 1.062 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.005613, allocations: 12.12 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005621, allocations: 1.219 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.005735, allocations: 51.94 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.006232, allocations: 445.4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.006445, allocations: 83.22 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.006498, allocations: 35.67 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.006514, allocations: 1.719 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.006541, allocations: 41.38 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.006542, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002224/0.006765, allocations: 121.4 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.006791, allocations: 51.41 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.006889, allocations: 209.1 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.006903, allocations: 29.7 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.006974, allocations: 175 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.006998, allocations: 39.59 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007038, allocations: 36.11 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.007144, allocations: 0.4962 MB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.00718, allocations: 16.83 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.007234, allocations: 48.88 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.007316, allocations: 74.73 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007318, allocations: 2.875 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001346/0.007453, allocations: 117.5 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.007468, allocations: 11.94 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007471, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007484, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.007574, allocations: 31.92 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.007579, allocations: 4 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.00763, allocations: 22.67 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.00764, allocations: 7.984 kB / 0.5266 GB, free: 11.54 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.172e-05/0.007712, allocations: 156.6 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.007737, allocations: 27.84 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.007764, allocations: 21.39 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.007768, allocations: 4.781 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.007771, allocations: 0 / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007774, allocations: 3.938 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.007918, allocations: 173.6 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00792, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.007996, allocations: 25.39 kB / 0.527 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.008, allocations: 3.984 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.008012, allocations: 8 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008014, allocations: 3.938 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008015, allocations: 1.438 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.008229, allocations: 266.6 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.008242, allocations: 15.84 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.008258, allocations: 4.516 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.008316, allocations: 16.5 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.008365, allocations: 15.97 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.00837, allocations: 4.75 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.008428, allocations: 154.2 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008428, allocations: 1.562 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001613/0.00859, allocations: 35.95 kB / 0.5275 GB, free: 10.57 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.819e-05/0.008658, allocations: 101.7 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.008793, allocations: 67.59 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008794, allocations: 0 / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.008844, allocations: 43.61 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.009043, allocations: 22.67 kB / 0.5278 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.009718, allocations: 365.3 kB / 0.5281 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.009758, allocations: 67.88 kB / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.009796, allocations: 14.77 kB / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.009838, allocations: 21.03 kB / 0.5282 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.009838, allocations: 0 / 0.5282 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.003184/0.01302, allocations: 1.72 MB / 0.5299 GB, free: 8.219 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.4589450559578836]