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.001229/0.001229, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001214/0.001214, allocations: 169.7 kB / 23.27 MB, free: 1.23 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 0.8736/0.8736, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7982/0.7982, allocations: 154.9 MB / 415.1 MB, free: 272 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.303e-06/1.303e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.268e-05, allocations: 7.781 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001185/0.001198, allocations: 0.7518 MB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.002339, allocations: 0.9113 MB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.002385, allocations: 5.688 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.002412, allocations: 3.938 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.002491, allocations: 12.73 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.002628, allocations: 45.64 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.002707, allocations: 83.83 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.002797, allocations: 11.98 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.002885, allocations: 59.88 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.002943, allocations: 39.88 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.002964, allocations: 9.719 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.00298, allocations: 8 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.003005, allocations: 19.92 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.003032, allocations: 23.91 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.249e-05/0.003124, allocations: 67.73 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003126, allocations: 0.75 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003127, allocations: 0 / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00313, allocations: 1.406 kB / 0.5231 GB, free: 15.48 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.0003358/0.003466, allocations: 404.4 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.003499, allocations: 12.03 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.003529, allocations: 14.23 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.108e-05/0.0036, allocations: 124.5 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.003617, allocations: 4.375 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.003628, allocations: 9.781 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.003757, allocations: 89.95 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.003764, allocations: 7.938 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003772, allocations: 2.594 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003777, allocations: 0 / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.003822, allocations: 27.97 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.004109, allocations: 296.2 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.004324, allocations: 76.19 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.004351, allocations: 20.64 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.004371, allocations: 11.94 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.00439, allocations: 33.39 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004391, allocations: 1.531 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001599/0.004551, allocations: 81.55 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.004574, allocations: 56.34 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.004645, allocations: 181.8 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.004657, allocations: 29.7 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.004701, allocations: 136.2 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.004724, allocations: 23.84 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.004759, allocations: 31.34 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.00486, allocations: 0.4884 MB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.004886, allocations: 13.14 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.004907, allocations: 4 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.004959, allocations: 44.23 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00496, allocations: 1.281 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.689e-05/0.005047, allocations: 73.61 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.005057, allocations: 4 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.00506, allocations: 1.062 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005071, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.005138, allocations: 23.23 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005141, allocations: 0.5469 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.005179, allocations: 7.984 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.005185, allocations: 4 kB / 0.5254 GB, free: 13 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 7.325e-05/0.005258, allocations: 164.5 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.00528, allocations: 7.953 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.005396, allocations: 92.88 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005398, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.0054, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005402, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.005509, allocations: 125.2 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005512, allocations: 3.984 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.005563, allocations: 19.92 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005564, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005572, allocations: 5.5 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005572, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005573, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.005704, allocations: 220.3 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.005715, allocations: 11.89 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.005726, allocations: 10.2 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.005773, allocations: 4 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.005838, allocations: 23.97 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.005844, allocations: 4 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.005886, allocations: 138.8 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005886, allocations: 2.438 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001455/0.006032, allocations: 12 kB / 0.5262 GB, free: 12.12 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.606e-05/0.006108, allocations: 99.23 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.006206, allocations: 39.61 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006208, allocations: 2.031 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.006254, allocations: 39.64 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.006437, allocations: 16 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.006687, allocations: 179.6 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006718, allocations: 63.34 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.006755, allocations: 7.781 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.006838, allocations: 90.75 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.006839, allocations: 0 / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.002931/0.009769, allocations: 1.836 MB / 0.5285 GB, free: 9.797 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.4940136028453708]