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.001019/0.001019, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001047/0.001047, allocations: 173 kB / 23.49 MB, free: 1.055 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.852/0.852, allocations: 154.8 MB / 415.1 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.383e-06/1.383e-06, allocations: 0 / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.895e-05, allocations: 3.719 kB / 0.5205 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002387/0.002406, allocations: 2.076 MB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.003237, allocations: 0.5788 MB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.852e-05/0.003336, allocations: 8.875 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003459, allocations: 15.8 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.003546, allocations: 56.78 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.00382, allocations: 68.31 kB / 0.5233 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.004012, allocations: 192.1 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.004162, allocations: 46.5 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.004355, allocations: 113.7 kB / 0.5236 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004455, allocations: 63.8 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.004482, allocations: 16 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.025e-05/0.004532, allocations: 19.94 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.004661, allocations: 39.83 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.004713, allocations: 52.91 kB / 0.5238 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004896, allocations: 131.5 kB / 0.5239 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004897, allocations: 0 / 0.5239 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004898, allocations: 0.8125 kB / 0.5239 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004902, allocations: 0 / 0.5239 GB, free: 14.87 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.0005337/0.005436, allocations: 0.4984 MB / 0.5244 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.005473, allocations: 8.031 kB / 0.5244 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.005612, allocations: 36.8 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.0058, allocations: 165 kB / 0.5246 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.005874, allocations: 67.97 kB / 0.5247 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.005901, allocations: 13.16 kB / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.006116, allocations: 125.8 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006127, allocations: 4.188 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.006142, allocations: 8.125 kB / 0.5248 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006151, allocations: 4 kB / 0.5248 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.006263, allocations: 51.88 kB / 0.5249 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.006801, allocations: 440.5 kB / 0.5253 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.007012, allocations: 87.16 kB / 0.5254 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.007065, allocations: 32.52 kB / 0.5254 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.00708, allocations: 4 kB / 0.5254 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.007102, allocations: 34.36 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.007103, allocations: 0 / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002333/0.007336, allocations: 114 kB / 0.5255 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.00737, allocations: 56.47 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007484, allocations: 216.5 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.007503, allocations: 29.7 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.007578, allocations: 167.5 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.007609, allocations: 51.56 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.007655, allocations: 40.39 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.00778, allocations: 0.4962 MB / 0.5266 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.00782, allocations: 15.98 kB / 0.5266 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/0.007875, allocations: 48.27 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.007963, allocations: 67.61 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007966, allocations: 4 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001376/0.008103, allocations: 114.3 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.008118, allocations: 11.94 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008122, allocations: 0.5312 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.008138, allocations: 7.984 kB / 0.5268 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.008231, allocations: 32.73 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.008237, allocations: 3.438 kB / 0.5269 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.008286, allocations: 19.92 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.008294, allocations: 4 kB / 0.5269 GB, free: 11.61 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.013e-05/0.008374, allocations: 164.5 kB / 0.527 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.008398, allocations: 15.91 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.008436, allocations: 33.33 kB / 0.5271 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008439, allocations: 3.984 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008443, allocations: 0 / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.008447, allocations: 2.656 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.008588, allocations: 168.5 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008588, allocations: 0 / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.008664, allocations: 23.98 kB / 0.5273 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.008667, allocations: 4 kB / 0.5273 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.008678, allocations: 0 / 0.5273 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.00868, allocations: 3.938 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008682, allocations: 8.578 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.008909, allocations: 257.2 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.008923, allocations: 19.78 kB / 0.5275 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.008938, allocations: 0 / 0.5275 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.008998, allocations: 19.92 kB / 0.5276 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.009045, allocations: 16.62 kB / 0.5276 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.009051, allocations: 5.094 kB / 0.5276 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.009109, allocations: 156.8 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009109, allocations: 4 kB / 0.5277 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001681/0.009277, allocations: 34.7 kB / 0.5278 GB, free: 10.64 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 7.676e-05/0.009354, allocations: 99.19 kB / 0.5279 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.009499, allocations: 67.59 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.0095, allocations: 4 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.009552, allocations: 39.66 kB / 0.528 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.009781, allocations: 33.33 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.01062, allocations: 363.1 kB / 0.5284 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.01067, allocations: 71.33 kB / 0.5284 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.444e-05/0.01072, allocations: 18.53 kB / 0.5284 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.01076, allocations: 20.44 kB / 0.5285 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.01076, allocations: 1 kB / 0.5285 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of Templates: time 0.003354/0.01412, allocations: 1.612 MB / 0.53 GB, free: 8.371 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: 3.9934714848641306]