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.001127/0.001127, 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.0009662/0.0009662, allocations: 173 kB / 23.49 MB, free: 1.059 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7911/0.7911, allocations: 154.8 MB / 415.1 MB, free: 484 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 1.483e-06/1.483e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.661e-05, allocations: 8.188 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001645/0.001672, allocations: 0.7632 MB / 0.5213 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002685, allocations: 0.9105 MB / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.002732, allocations: 0 / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.002763, allocations: 3.938 kB / 0.5222 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.00284, allocations: 16.42 kB / 0.5222 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.003016, allocations: 51.17 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.003115, allocations: 79.81 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003218, allocations: 19.98 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.003309, allocations: 55.88 kB / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.00338, allocations: 35.89 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003404, allocations: 8 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.003418, allocations: 8 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.003442, allocations: 23.91 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.003473, allocations: 24.48 kB / 0.5225 GB, free: 272 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.003575, allocations: 67.72 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003577, allocations: 0.5625 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.003578, allocations: 4.859 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003581, allocations: 0 / 0.5226 GB, free: 200 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.0004798/0.004061, allocations: 405.9 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.004106, allocations: 8.031 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.004153, allocations: 12.89 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.004282, allocations: 116.5 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.00432, allocations: 9.312 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.004339, allocations: 4.375 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.004591, allocations: 95.98 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.004603, allocations: 3.938 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.004618, allocations: 9.406 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.004628, allocations: 0 / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.00473, allocations: 23.97 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.00518, allocations: 328.4 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.005444, allocations: 80.38 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.005487, allocations: 25.02 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.005501, allocations: 4 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.005521, allocations: 37.39 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.005523, allocations: 0.7812 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001999/0.005723, allocations: 91.28 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.00575, allocations: 51.41 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.005835, allocations: 181.9 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005847, allocations: 25.7 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.005898, allocations: 146.8 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.005921, allocations: 18.53 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.00596, allocations: 31.36 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.006089, allocations: 0.4922 MB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.00612, allocations: 8 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.006152, allocations: 15.98 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.006227, allocations: 40.14 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006228, allocations: 2.75 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.006338, allocations: 73.56 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006352, allocations: 4 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006357, allocations: 3.984 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.00637, allocations: 4 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.006445, allocations: 19.98 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00645, allocations: 0.9688 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.006487, allocations: 4 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.006496, allocations: 8.922 kB / 0.5249 GB, free: 13.66 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 8.361e-05/0.00658, allocations: 160.5 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.006602, allocations: 8.891 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.00675, allocations: 94.45 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.006753, allocations: 4.672 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006758, allocations: 0 / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.006762, allocations: 5.203 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.006887, allocations: 140.5 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006889, allocations: 4 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.006945, allocations: 16.61 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006949, allocations: 7.938 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.006958, allocations: 5.375 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006959, allocations: 0 / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006961, allocations: 0 / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.007139, allocations: 234.2 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.007153, allocations: 7.938 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.007169, allocations: 4 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.007219, allocations: 4 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.007279, allocations: 23.97 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.007287, allocations: 7.984 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.007336, allocations: 141.1 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007336, allocations: 0 / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001492/0.007485, allocations: 15.98 kB / 0.5257 GB, free: 12.73 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 7.104e-05/0.007556, allocations: 95.25 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.007674, allocations: 51.59 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.007676, allocations: 0.6875 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.007727, allocations: 35.67 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.007903, allocations: 19.31 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.008202, allocations: 175.9 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.008237, allocations: 61.06 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.008276, allocations: 11.44 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.008323, allocations: 25.14 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.008323, allocations: 5.438 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.003731/0.01205, allocations: 1.707 MB / 0.5279 GB, free: 10.57 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.8827378100249916]