Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002004/0.002004, 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.002211/0.002211, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.35/1.35, allocations: 154.6 MB / 414.1 MB, free: 0.5625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0.875 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.697e-05, allocations: 3.719 kB / 0.5196 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002067/0.002104, allocations: 0.7544 MB / 0.5204 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003372, allocations: 0.8853 MB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.003421, allocations: 4 kB / 0.5212 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.003454, allocations: 7.875 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.003558, allocations: 13.91 kB / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.003751, allocations: 39.88 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003888, allocations: 87.77 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.004003, allocations: 23.91 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.004126, allocations: 51.89 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.004211, allocations: 37.64 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.00424, allocations: 8 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.004261, allocations: 8 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.004298, allocations: 23.97 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.00434, allocations: 24.66 kB / 0.5215 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004503, allocations: 95.66 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004505, allocations: 1.406 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004506, allocations: 0 / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.00451, allocations: 0 / 0.5216 GB, free: 472 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.0006693/0.00518, allocations: 409.4 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005217, allocations: 8.031 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.005277, allocations: 16.89 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.005443, allocations: 126.6 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.00546, allocations: 9.844 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.005478, allocations: 8.375 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.005745, allocations: 90.19 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.005757, allocations: 6.406 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.005773, allocations: 4 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.00578, allocations: 4 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.006047, allocations: 71.95 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.006631, allocations: 331.6 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.007199, allocations: 112.2 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.007343, allocations: 44.55 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.007368, allocations: 0 / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.007404, allocations: 46.86 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.007404, allocations: 0 / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005465/0.007951, allocations: 150.5 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.007997, allocations: 51.41 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.008166, allocations: 191.3 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.008192, allocations: 25.7 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.008291, allocations: 146.8 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.008327, allocations: 23.8 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.008392, allocations: 32.52 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002845/0.008677, allocations: 0.4922 MB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.008809, allocations: 35.97 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.008928, allocations: 40.61 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.009177, allocations: 81.38 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009179, allocations: 0 / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003234/0.009502, allocations: 116.8 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.009518, allocations: 8 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009523, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.009541, allocations: 7.922 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.009687, allocations: 19.98 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009693, allocations: 3.938 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.009779, allocations: 11.98 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.009793, allocations: 6.984 kB / 0.5243 GB, free: 13.59 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.0001368/0.00993, allocations: 164.5 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.009967, allocations: 7.953 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.01035, allocations: 126.1 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01036, allocations: 1.5 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.01037, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01038, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.01062, allocations: 156.5 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01062, allocations: 0 / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.01075, allocations: 24.41 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01076, allocations: 2.344 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01077, allocations: 4 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01077, allocations: 4 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01077, allocations: 0 / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.01122, allocations: 263.8 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01123, allocations: 10.39 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01125, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.01138, allocations: 7.984 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.01147, allocations: 27.97 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01148, allocations: 0 / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01158, allocations: 143.2 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01158, allocations: 1.906 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002356/0.01181, allocations: 16 kB / 0.5252 GB, free: 12.58 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.0001467/0.01196, allocations: 99.19 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.01232, allocations: 88.66 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01232, allocations: 0 / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.0125, allocations: 68.53 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.0128, allocations: 28.55 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.01361, allocations: 185.1 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.0137, allocations: 75.27 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.884e-05/0.01377, allocations: 18.36 kB / 0.5257 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.01385, allocations: 22.06 kB / 0.5257 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01385, allocations: 0 / 0.5257 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.005441/0.01929, allocations: 1.716 MB / 0.5274 GB, free: 10.33 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.195749438949861]