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.001422/0.001422, 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.001009/0.001009, allocations: 169 kB / 23.02 MB, free: 1.551 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.082/1.082, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.834/0.834, allocations: 154.8 MB / 414.7 MB, free: 0.5039 MB / 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 179] 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.834e-06/1.834e-06, allocations: 0.7656 kB / 0.5205 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.897e-05, allocations: 3.859 kB / 0.5205 GB, free: 2.016 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002809/0.002838, allocations: 2.077 MB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.00383, allocations: 0.58 MB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.003947, allocations: 3.938 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.004084, allocations: 24.47 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.004188, allocations: 50.52 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.004502, allocations: 71.78 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.004719, allocations: 191.2 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.004878, allocations: 58.42 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.005101, allocations: 107.8 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.005216, allocations: 60.83 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.005251, allocations: 16 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.005308, allocations: 19.94 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.005338, allocations: 41.2 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.005389, allocations: 51.91 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005591, allocations: 131.5 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005594, allocations: 0.75 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005595, allocations: 0 / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.0056, allocations: 0.8125 kB / 0.5239 GB, free: 14.55 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.000568/0.006168, allocations: 0.4891 MB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.006215, allocations: 16.77 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.006367, allocations: 44.73 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006565, allocations: 160.9 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.006919, allocations: 68.89 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.006952, allocations: 12.38 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.007193, allocations: 124.1 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.007204, allocations: 192 / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.007222, allocations: 12.75 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007231, allocations: 0 / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.007344, allocations: 52.7 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.007918, allocations: 442 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.008161, allocations: 91.14 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.008219, allocations: 35.67 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.008241, allocations: 0 / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.008264, allocations: 43.11 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.008265, allocations: 0 / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002384/0.008503, allocations: 116.6 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.008529, allocations: 51.41 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.008638, allocations: 208.4 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.008656, allocations: 38.44 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.008731, allocations: 171 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.008762, allocations: 44.98 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.008808, allocations: 31.38 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.00894, allocations: 0.5001 MB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.008984, allocations: 13.03 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.009045, allocations: 53.28 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.009146, allocations: 72.16 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009148, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001541/0.009303, allocations: 116.7 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.009318, allocations: 7.938 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.009324, allocations: 8 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.009341, allocations: 0 / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.009445, allocations: 31.97 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.009453, allocations: 4 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.009508, allocations: 15.94 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.009517, allocations: 7.031 kB / 0.5269 GB, free: 11.3 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 8.857e-05/0.009605, allocations: 164.5 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.009636, allocations: 27.84 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.009668, allocations: 17.41 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009671, allocations: 4 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009676, allocations: 0 / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.009679, allocations: 0 / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.009833, allocations: 176.5 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009834, allocations: 1.5 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.009914, allocations: 23.98 kB / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009917, allocations: 0 / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.009928, allocations: 1.406 kB / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.009931, allocations: 7.938 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009932, allocations: 0 / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.01018, allocations: 267.7 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.0102, allocations: 17.12 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01022, allocations: 4 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.01028, allocations: 15.92 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.01032, allocations: 16.62 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01033, allocations: 4.625 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.01039, allocations: 156.8 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01039, allocations: 0.5 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001784/0.01057, allocations: 38.8 kB / 0.5278 GB, free: 10.32 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 8.457e-05/0.01065, allocations: 99.19 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.0108, allocations: 63.66 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01081, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01086, allocations: 43.61 kB / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.0111, allocations: 26.42 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.01192, allocations: 370.5 kB / 0.5283 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01196, allocations: 71.33 kB / 0.5284 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.01202, allocations: 10.41 kB / 0.5284 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01206, allocations: 20.48 kB / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.01206, allocations: 0 / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of Templates: time 0.003714/0.01578, allocations: 1.623 MB / 0.53 GB, free: 8.051 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.134133278857917]