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.001118/0.001118, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002036/0.003154, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001256/0.001256, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.003004, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08703/1.142, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7839/0.7839, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.274/1.058, allocations: 49.04 MB / 447.8 MB, free: 6.566 MB / 426.7 MB " [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 2.766e-06/2.766e-06, allocations: 0 / 449.2 MB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.679e-05, allocations: 4.844 kB / 449.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002086/0.002113, allocations: 0.8134 MB / 450 MB, free: 4.473 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003166, allocations: 0.9207 MB / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.003212, allocations: 0 / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.003245, allocations: 3.938 kB / 450.9 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.003309, allocations: 16.23 kB / 450.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.003431, allocations: 40.45 kB / 451 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.003558, allocations: 85.69 kB / 451 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.003668, allocations: 22.2 kB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.003818, allocations: 64.31 kB / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.003911, allocations: 39.22 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.003943, allocations: 8.656 kB / 451.2 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.003962, allocations: 10.44 kB / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.00399, allocations: 14.73 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.004027, allocations: 14.95 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.004163, allocations: 53.52 kB / 451.3 MB, free: 3.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.00418, allocations: 4 kB / 451.3 MB, free: 3.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004181, allocations: 0 / 451.3 MB, free: 3.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.004197, allocations: 0 / 451.3 MB, free: 3.203 MB / 426.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.0005363/0.004733, allocations: 288.4 kB / 451.5 MB, free: 2.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.004772, allocations: 12.03 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.004817, allocations: 8.922 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.004937, allocations: 125.6 kB / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.004963, allocations: 6.344 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.004987, allocations: 5.219 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.005194, allocations: 96.2 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005204, allocations: 3.938 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005214, allocations: 0.6562 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.005223, allocations: 4 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.00528, allocations: 16.61 kB / 451.8 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.005644, allocations: 208.6 kB / 452 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.005949, allocations: 66.39 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.005986, allocations: 16.86 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.006007, allocations: 4 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.006033, allocations: 30.56 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.006035, allocations: 0.9062 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001848/0.00622, allocations: 67.48 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.006255, allocations: 55.41 kB / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.006339, allocations: 126.7 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.006354, allocations: 25.7 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.006396, allocations: 92.08 kB / 452.5 MB, free: 1.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.006427, allocations: 24.66 kB / 452.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.006475, allocations: 25.69 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.006573, allocations: 315.8 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.006603, allocations: 11.98 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.006629, allocations: 9.297 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.006697, allocations: 36.97 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.006701, allocations: 5.25 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.006809, allocations: 57.62 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.006825, allocations: 11.92 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.006831, allocations: 4.656 kB / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.006849, allocations: 0 / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.006968, allocations: 21.2 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.006971, allocations: 0 / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.00702, allocations: 9.797 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.007028, allocations: 0 / 453 MB, free: 1.312 MB / 426.7 MB 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.959e-05/0.007107, allocations: 118.9 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.007137, allocations: 7.984 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.007294, allocations: 74.73 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007297, allocations: 0 / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.007298, allocations: 1.531 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.007303, allocations: 3.234 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.007453, allocations: 97.81 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007455, allocations: 0 / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.007551, allocations: 25.44 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.007563, allocations: 7.938 kB / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007566, allocations: 0 / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007573, allocations: 0 / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007576, allocations: 0.6875 kB / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007577, allocations: 0 / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.007723, allocations: 164.5 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.007738, allocations: 0 / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.007826, allocations: 16.58 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.00789, allocations: 21.19 kB / 453.5 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.007898, allocations: 4 kB / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.472e-05/0.007923, allocations: 18.59 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007923, allocations: 0 / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.008124, allocations: 20.64 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB 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.0001181/0.008242, allocations: 77.61 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008355, allocations: 45.38 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.008363, allocations: 4 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.008424, allocations: 33.31 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.008676, allocations: 73.34 kB / 453.8 MB, free: 460 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.00921, allocations: 170.2 kB / 454 MB, free: 264 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.009253, allocations: 57.05 kB / 454 MB, free: 188 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.009311, allocations: 17.95 kB / 454.1 MB, free: 172 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.009418, allocations: 68.27 kB / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009419, allocations: 0 / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of Templates: time 0.004543/0.01396, allocations: 1.673 MB / 455.8 MB, free: 14.53 MB / 442.7 MB " [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.565749078989029]