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.001454/0.001454, allocations: 88.72 kB / 19.44 MB, free: 356 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.001673/0.001673, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.241/1.241, allocations: 154.8 MB / 414.3 MB, free: 464 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 3.486e-06/3.486e-06, allocations: 0 / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.683e-05/4.032e-05, allocations: 6.141 kB / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002522/0.002563, allocations: 0.7444 MB / 0.5206 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004155, allocations: 0.8915 MB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.004223, allocations: 0 / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.004269, allocations: 9.031 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004376, allocations: 3.938 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.00462, allocations: 48.59 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.004773, allocations: 83.83 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004911, allocations: 25.19 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.005055, allocations: 47.91 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005161, allocations: 39.88 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.005198, allocations: 9.344 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.005218, allocations: 8 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.005254, allocations: 23.91 kB / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.005309, allocations: 23.97 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.005517, allocations: 100.4 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.005524, allocations: 4 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.005526, allocations: 1.844 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.005532, allocations: 0 / 0.5219 GB, free: 244 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.0007615/0.006293, allocations: 310.1 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.006338, allocations: 14.06 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.006419, allocations: 12.89 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.006598, allocations: 125.6 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.006619, allocations: 384 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.00664, allocations: 8.375 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.007005, allocations: 106.1 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007017, allocations: 3.938 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.007032, allocations: 0 / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007041, allocations: 4.969 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.007464, allocations: 96.88 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.008076, allocations: 269.3 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.008779, allocations: 120.1 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.008993, allocations: 54.03 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.009028, allocations: 11.92 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.009064, allocations: 34.55 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.009065, allocations: 0.5 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0007803/0.009846, allocations: 181 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.009912, allocations: 51.41 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01005, allocations: 125.1 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.01008, allocations: 33.7 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.01017, allocations: 93.59 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.01021, allocations: 27.78 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.01028, allocations: 25.7 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.01047, allocations: 318.8 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.01067, allocations: 44.7 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01086, allocations: 49.36 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.01125, allocations: 106.7 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01126, allocations: 0 / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004669/0.01172, allocations: 136.5 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.01174, allocations: 7.984 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01175, allocations: 0.5469 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.01177, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01196, allocations: 31.91 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01196, allocations: 2.75 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01209, allocations: 11.98 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.0121, allocations: 0 / 0.5242 GB, free: 13.73 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.0001359/0.01224, allocations: 117.8 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.01228, allocations: 11.95 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.01282, allocations: 155.8 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01282, allocations: 0.6562 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01282, allocations: 0 / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01283, allocations: 1.562 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.01305, allocations: 145.2 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01306, allocations: 0 / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.01324, allocations: 29.19 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01325, allocations: 0 / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.01326, allocations: 4 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.01327, allocations: 3.984 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01327, allocations: 0.6562 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.01383, allocations: 241.9 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.01385, allocations: 3.953 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01387, allocations: 0 / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.01403, allocations: 14.42 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.01414, allocations: 23.97 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01414, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.467e-05/0.01423, allocations: 103.2 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002469/0.01448, allocations: 12 kB / 0.525 GB, free: 12.82 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.0001582/0.01463, allocations: 101.7 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.0151, allocations: 103.9 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.0151, allocations: 0.9375 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.01533, allocations: 64.78 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.0157, allocations: 18.59 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.01623, allocations: 177 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.881e-05/0.01632, allocations: 75.33 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.0164, allocations: 15.53 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.01648, allocations: 24.48 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01648, allocations: 0 / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.005303/0.02178, allocations: 1.707 MB / 0.5272 GB, free: 10.58 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.838433490949683]