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.001905/0.001905, allocations: 85.48 kB / 19.44 MB, free: 344 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.002051/0.002051, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.309/1.309, allocations: 154.8 MB / 414.4 MB, free: 444 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.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.384e-06/2.384e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.284e-05, allocations: 5.234 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002223/0.002256, allocations: 0.7514 MB / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003821, allocations: 0.8989 MB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.003877, allocations: 1.188 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.003916, allocations: 7.922 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.421e-05/0.00401, allocations: 7.875 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.00419, allocations: 48.75 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.004317, allocations: 83.83 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004419, allocations: 24.97 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004533, allocations: 47.91 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.004616, allocations: 39.88 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.004643, allocations: 8.688 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.004661, allocations: 8.719 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.004699, allocations: 19.92 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.004743, allocations: 28.66 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004905, allocations: 99.64 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004908, allocations: 0.9375 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004909, allocations: 0 / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.004914, allocations: 0 / 0.5219 GB, free: 240 kB / 490.7 MB 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.0006856/0.005599, allocations: 406.8 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005639, allocations: 12.03 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.005697, allocations: 8.891 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.005858, allocations: 130.8 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.005876, allocations: 4.375 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.00589, allocations: 4.375 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.006151, allocations: 95.39 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006163, allocations: 3.938 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.006175, allocations: 0 / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.006179, allocations: 4.562 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.006438, allocations: 76.47 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.006982, allocations: 332.6 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.007512, allocations: 116.4 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.007648, allocations: 43.66 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.007673, allocations: 4.562 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.007705, allocations: 34.36 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.007706, allocations: 0 / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005178/0.008224, allocations: 155.4 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.008271, allocations: 55.41 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.008434, allocations: 193.8 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.008456, allocations: 25.7 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.008554, allocations: 139.9 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.008587, allocations: 23.8 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.008652, allocations: 35.36 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.008933, allocations: 0.4969 MB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.009055, allocations: 29.17 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.009169, allocations: 35.97 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.009402, allocations: 77.09 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.009404, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003113/0.009715, allocations: 122.3 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.009731, allocations: 8 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.009736, allocations: 1.328 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.009751, allocations: 0 / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.009891, allocations: 17.08 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.0099, allocations: 4 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.00998, allocations: 10.73 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.009992, allocations: 4 kB / 0.5245 GB, free: 13.39 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 0.0001327/0.01013, allocations: 164.5 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01016, allocations: 7.953 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.01053, allocations: 140.5 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01053, allocations: 0 / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.01054, allocations: 0 / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01054, allocations: 0 / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01076, allocations: 164.5 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01076, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01089, allocations: 15.98 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01089, allocations: 0.5312 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.0109, allocations: 7.984 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.0109, allocations: 1.125 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0109, allocations: 0 / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.01132, allocations: 276.2 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01133, allocations: 4.984 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01136, allocations: 8 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01146, allocations: 5.188 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.01155, allocations: 19.97 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01156, allocations: 7.984 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.01166, allocations: 139.8 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01166, allocations: 4 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002208/0.01188, allocations: 15.44 kB / 0.5254 GB, free: 12.36 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 0.0001379/0.01202, allocations: 95.25 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01234, allocations: 99.56 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01234, allocations: 0 / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.0125, allocations: 55.66 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.01277, allocations: 21.66 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.01324, allocations: 190.6 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.01333, allocations: 75.33 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.301e-05/0.01339, allocations: 16.31 kB / 0.526 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.01346, allocations: 24.48 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01347, allocations: 0 / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.005074/0.01854, allocations: 1.715 MB / 0.5277 GB, free: 10.11 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: 6.034165104036219]