Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0009534/0.0009534, allocations: 73.09 kB / 20.65 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.000998/0.000998, allocations: 169 kB / 24.06 MB, free: 452 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 1.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.8109/0.8109, allocations: 154.9 MB / 415.9 MB, free: 240 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 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.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.964e-05, allocations: 7.188 kB / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001449/0.001479, allocations: 0.7505 MB / 0.5226 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.002468, allocations: 0.9101 MB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.002514, allocations: 0 / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.002548, allocations: 12.83 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.002628, allocations: 3.938 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.002796, allocations: 48.62 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.002892, allocations: 88.75 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.002988, allocations: 15.98 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.003076, allocations: 47.91 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.003139, allocations: 40.44 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.003159, allocations: 8.5 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.00317, allocations: 8 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.003193, allocations: 24.62 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.003218, allocations: 19.98 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.003316, allocations: 76.86 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003318, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003319, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003322, allocations: 0.5625 kB / 0.5239 GB, free: 15.46 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003595/0.003682, allocations: 406.2 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.003712, allocations: 8.031 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.003745, allocations: 12.89 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.003828, allocations: 128.4 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.003845, allocations: 6.094 kB / 0.5244 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.003857, allocations: 8.375 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004002, allocations: 82.91 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004009, allocations: 3.938 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.004019, allocations: 5.453 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004023, allocations: 0 / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.004069, allocations: 19.98 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.004372, allocations: 300.9 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.00461, allocations: 80.59 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.004641, allocations: 24.95 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.004656, allocations: 0 / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.004678, allocations: 41.39 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.004679, allocations: 0 / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001612/0.00484, allocations: 74.22 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.004865, allocations: 54.72 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.004949, allocations: 183.6 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.004963, allocations: 29.7 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.005019, allocations: 146.7 kB / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.005041, allocations: 19.86 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.005082, allocations: 35.34 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005202, allocations: 492.1 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.005231, allocations: 15.92 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.005259, allocations: 16.47 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.005312, allocations: 32.16 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005314, allocations: 4.562 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.005418, allocations: 66.5 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.005428, allocations: 4 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.005432, allocations: 1.469 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.005438, allocations: 4 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.005518, allocations: 19.92 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.00552, allocations: 1.484 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.005563, allocations: 7.984 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.00557, allocations: 4 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.979e-05/0.00564, allocations: 163.2 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.005662, allocations: 7.953 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.005789, allocations: 93.98 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.005793, allocations: 4 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005794, allocations: 2.75 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005796, allocations: 0 / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.00591, allocations: 117.2 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005911, allocations: 0 / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.005973, allocations: 23.86 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005976, allocations: 0 / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.005982, allocations: 4 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005983, allocations: 0 / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005984, allocations: 0.9375 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.006118, allocations: 216.8 kB / 0.5268 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.006135, allocations: 23.86 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.006145, allocations: 0 / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.006196, allocations: 4.938 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.006244, allocations: 19.97 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.006252, allocations: 12.58 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.006295, allocations: 135.1 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006296, allocations: 1.406 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001462/0.006442, allocations: 15.94 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.1e-05/0.006533, allocations: 100.6 kB / 0.5271 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.006627, allocations: 47.64 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.006628, allocations: 0 / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.006675, allocations: 35.61 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.006861, allocations: 26.33 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.007127, allocations: 174.6 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.007162, allocations: 63.34 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.007205, allocations: 13.88 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.007288, allocations: 86.19 kB / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.007289, allocations: 0 / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.003251/0.01054, allocations: 1.87 MB / 0.5293 GB, free: 9.73 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7470421697944403]