Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001765/0.001765, allocations: 88.72 kB / 19.44 MB, free: 328 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.002416/0.002416, allocations: 161.7 kB / 22.76 MB, free: 1.652 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.638/1.638, allocations: 177.1 MB / 203.1 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.24/1.24, allocations: 154.8 MB / 414.3 MB, free: 408 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.7656 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/3.987e-05, allocations: 4.562 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004008/0.004048, allocations: 1.995 MB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.005364, allocations: 0.5644 MB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005491, allocations: 0 / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.005652, allocations: 27.72 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.005773, allocations: 45.23 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.006114, allocations: 68.75 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.006433, allocations: 199.1 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.006622, allocations: 52.7 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.006915, allocations: 115.7 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.00705, allocations: 59.8 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.007087, allocations: 12.69 kB / 0.5229 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.007157, allocations: 20 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.007208, allocations: 36.45 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.007294, allocations: 51.86 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.007625, allocations: 193.2 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.007628, allocations: 0 / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.00763, allocations: 0 / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.007636, allocations: 0 / 0.5231 GB, free: 14.92 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.000964/0.0086, allocations: 419.3 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.008642, allocations: 9.469 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.008879, allocations: 44.78 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.009221, allocations: 153.5 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.009363, allocations: 64.75 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.009411, allocations: 16.36 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.009867, allocations: 154.1 kB / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.009881, allocations: 192 / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.009906, allocations: 8.125 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.009915, allocations: 4 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.01046, allocations: 148.5 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.01134, allocations: 394.1 kB / 0.5245 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.01186, allocations: 123.5 kB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.01211, allocations: 78.95 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.01214, allocations: 0 / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.01217, allocations: 38.5 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.146e-06/0.01218, allocations: 4.609 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0008493/0.01302, allocations: 225.7 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.01309, allocations: 59.34 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01329, allocations: 157.1 kB / 0.5252 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.01332, allocations: 25.7 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01346, allocations: 132.2 kB / 0.5253 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.01352, allocations: 47.64 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.01359, allocations: 32.83 kB / 0.5254 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.01381, allocations: 322.8 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.01404, allocations: 63.94 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.0143, allocations: 84.23 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.01475, allocations: 142.2 kB / 0.526 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01475, allocations: 0 / 0.526 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005567/0.0153, allocations: 192.2 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.01533, allocations: 11.94 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01533, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.01535, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.01556, allocations: 45.64 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01557, allocations: 4 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.01571, allocations: 23.94 kB / 0.5262 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01573, allocations: 10.38 kB / 0.5262 GB, free: 11.57 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.0001403/0.01587, allocations: 121.8 kB / 0.5264 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.01592, allocations: 23.89 kB / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.01598, allocations: 21.41 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01599, allocations: 4 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.01599, allocations: 0 / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.016, allocations: 0.875 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01626, allocations: 157.2 kB / 0.5266 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01626, allocations: 1.5 kB / 0.5266 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.01646, allocations: 39.95 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01646, allocations: 4 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01648, allocations: 1.125 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01648, allocations: 3.938 kB / 0.5266 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01648, allocations: 3.938 kB / 0.5266 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.01733, allocations: 342.1 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.01736, allocations: 11.94 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.01739, allocations: 4.859 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.01756, allocations: 27.02 kB / 0.527 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.01763, allocations: 11.97 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01764, allocations: 4 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001209/0.01776, allocations: 120.9 kB / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01776, allocations: 0 / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002936/0.01806, allocations: 39.89 kB / 0.5271 GB, free: 10.61 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.0001593/0.01822, allocations: 99.03 kB / 0.5272 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.01876, allocations: 143.8 kB / 0.5274 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01876, allocations: 0 / 0.5274 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.01901, allocations: 74.53 kB / 0.5274 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.01936, allocations: 26.25 kB / 0.5275 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.02029, allocations: 361.9 kB / 0.5278 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.02043, allocations: 106.1 kB / 0.5279 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.02e-05/0.0205, allocations: 11.05 kB / 0.5279 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.02057, allocations: 16.5 kB / 0.5279 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.02057, allocations: 0 / 0.5279 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of Templates: time 0.00564/0.02621, allocations: 1.625 MB / 0.5295 GB, free: 8.234 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1803508520824835]