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.0009625/0.0009625, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009824/0.0009824, allocations: 165 kB / 23.02 MB, free: 1.547 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.056/1.056, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7979/0.7979, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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 179] 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 1.683e-06/1.683e-06, allocations: 0 / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.904e-05, allocations: 8.141 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002072/0.002101, allocations: 0.7625 MB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003386, allocations: 0.9113 MB / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.003439, allocations: 0 / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.003488, allocations: 11.86 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.003582, allocations: 11.88 kB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.003805, allocations: 44.41 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003937, allocations: 80.33 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004061, allocations: 20.92 kB / 0.5221 GB, free: 360 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.004188, allocations: 51.89 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.004276, allocations: 43.88 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.004308, allocations: 8.719 kB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.004324, allocations: 8 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.004351, allocations: 17.08 kB / 0.5222 GB, free: 232 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.004395, allocations: 27.91 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004531, allocations: 63.78 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004533, allocations: 1 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004534, allocations: 0 / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004539, allocations: 1.531 kB / 0.5223 GB, free: 140 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.0005776/0.005116, allocations: 404.4 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.005165, allocations: 8.031 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.005226, allocations: 12.89 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005377, allocations: 133.5 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.005407, allocations: 4.375 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.005429, allocations: 5.062 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.005707, allocations: 98.8 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.005722, allocations: 3.938 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.005739, allocations: 4 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.00575, allocations: 0.75 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.005871, allocations: 35.92 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.00644, allocations: 312.4 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.006919, allocations: 84.58 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.00698, allocations: 29.81 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.007012, allocations: 3.984 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.007049, allocations: 37.39 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.007052, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003142/0.007366, allocations: 85.64 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.007407, allocations: 52.47 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.007557, allocations: 185.9 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.007578, allocations: 29.64 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.007649, allocations: 144.2 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.007678, allocations: 15.84 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.00775, allocations: 31.38 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.007922, allocations: 0.4883 MB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.007977, allocations: 16.77 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.008019, allocations: 9.812 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.008128, allocations: 47.81 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008131, allocations: 0 / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000188/0.008319, allocations: 78.17 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.008343, allocations: 4.969 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008349, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.008371, allocations: 4 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.008514, allocations: 20.42 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.008522, allocations: 0.7188 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.008586, allocations: 8.609 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.008597, allocations: 4 kB / 0.5246 GB, free: 13.58 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.0001194/0.008717, allocations: 161.2 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.008757, allocations: 13.05 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.008986, allocations: 87.8 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.008989, allocations: 0 / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.008994, allocations: 3.938 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.008998, allocations: 3.938 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.009179, allocations: 144.5 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009182, allocations: 2.812 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.009296, allocations: 19.98 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.0093, allocations: 4 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.009312, allocations: 3.984 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.009315, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009317, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.009539, allocations: 223.8 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.009556, allocations: 10.39 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.009574, allocations: 4 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.009666, allocations: 8 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.009769, allocations: 27.89 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.009778, allocations: 4 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.009838, allocations: 135.2 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.009838, allocations: 1.438 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002568/0.0101, allocations: 12 kB / 0.5255 GB, free: 12.66 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.0001126/0.01021, allocations: 96.28 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01036, allocations: 47.66 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01036, allocations: 1.156 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.01043, allocations: 39.61 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01072, allocations: 21.36 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.01114, allocations: 181.6 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01119, allocations: 59.34 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.01124, allocations: 15.02 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.0113, allocations: 20.5 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.0113, allocations: 1.406 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.003554/0.01486, allocations: 1.716 MB / 0.5276 GB, free: 10.5 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: 3.950042648240924]