Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.001339/0.001339, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001083/0.001083, allocations: 181 kB / 23.36 MB, free: 1.133 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.9826/0.9826, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.824/0.824, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.557e-05, allocations: 4.703 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001165/0.001181, allocations: 0.7034 MB / 480.8 MB, free: 6.133 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.001944, allocations: 0.8496 MB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.001977, allocations: 4 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002004, allocations: 4.875 kB / 481.6 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.002072, allocations: 2.844 kB / 481.6 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.101e-05/0.002163, allocations: 17.53 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.002235, allocations: 43.62 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.002306, allocations: 11.98 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.002388, allocations: 26.19 kB / 481.7 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.002426, allocations: 13.52 kB / 481.7 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.002447, allocations: 4.875 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.002456, allocations: 4.547 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.002475, allocations: 10.34 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.002494, allocations: 10.62 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.753e-05/0.002572, allocations: 41.91 kB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002574, allocations: 1.938 kB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002574, allocations: 0 / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.002577, allocations: 0 / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002817/0.002859, allocations: 244 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.002889, allocations: 9.031 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.002914, allocations: 12.92 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.002989, allocations: 117.7 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.002997, allocations: 1 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.003007, allocations: 4.375 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.003109, allocations: 63.59 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003116, allocations: 1.438 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.003122, allocations: 1.25 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003127, allocations: 384 / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.003148, allocations: 13.25 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.003337, allocations: 152.9 kB / 482.4 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.003393, allocations: 27.53 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.003408, allocations: 11.08 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.00342, allocations: 0 / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.003441, allocations: 38.5 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.003442, allocations: 0.6562 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001003/0.003542, allocations: 46.66 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.003568, allocations: 51.47 kB / 482.6 MB, free: 4.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.003624, allocations: 115.7 kB / 482.7 MB, free: 4.102 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.003633, allocations: 25.7 kB / 482.7 MB, free: 4.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.00366, allocations: 89.73 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.003676, allocations: 7.938 kB / 482.8 MB, free: 3.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.003704, allocations: 17.7 kB / 482.8 MB, free: 3.949 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.003772, allocations: 311.8 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.003783, allocations: 4 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.003794, allocations: 8.562 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.003818, allocations: 16.84 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00382, allocations: 1.359 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.616e-05/0.003866, allocations: 42.95 kB / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.003877, allocations: 8 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.00388, allocations: 0.625 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.00389, allocations: 3.938 kB / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.003951, allocations: 12.52 kB / 483.2 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.003954, allocations: 0.5625 kB / 483.2 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.003974, allocations: 12.36 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.003979, allocations: 0 / 483.3 MB, free: 3.527 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.942e-05/0.004028, allocations: 118.6 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.00404, allocations: 3.281 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.004106, allocations: 49.67 kB / 483.4 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.004109, allocations: 3.938 kB / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.00411, allocations: 0 / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004112, allocations: 4 kB / 483.4 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.616e-05/0.004188, allocations: 70.42 kB / 483.5 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004189, allocations: 1 kB / 483.5 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.004214, allocations: 11.98 kB / 483.5 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.004218, allocations: 4 kB / 483.5 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.004222, allocations: 4.75 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004223, allocations: 0 / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004223, allocations: 1.969 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.839e-05/0.004292, allocations: 144.1 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.004299, allocations: 7.938 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.004306, allocations: 0 / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.00434, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.004367, allocations: 12.55 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.00437, allocations: 5.188 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.167e-05/0.004382, allocations: 16.84 kB / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004382, allocations: 0 / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.004492, allocations: 4 kB / 483.7 MB, free: 3.023 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.238e-05/0.004554, allocations: 78.88 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.037e-05/0.004605, allocations: 17.88 kB / 483.8 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.004612, allocations: 4 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.00463, allocations: 12.84 kB / 483.8 MB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.004749, allocations: 9.297 kB / 483.8 MB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.004938, allocations: 120.5 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.004966, allocations: 63.28 kB / 484 MB, free: 2.672 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.711e-05/0.004983, allocations: 5.094 kB / 484 MB, free: 2.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.005026, allocations: 51.38 kB / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005027, allocations: 0 / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of Templates: time 0.002002/0.007029, allocations: 0.6724 MB / 484.7 MB, free: 1.984 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6686255768872797]