Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.000622/0.000622, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000824/0.001446, allocations: 435.8 kB / 10.33 MB, free: 364 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.0006614/0.0006614, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007757/0.001437, allocations: 463.6 kB / 11.68 MB, free: 2.48 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 0.993/0.993, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09856/1.092, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.8348/0.8348, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2921/1.127, allocations: 49.04 MB / 447.6 MB, free: 6.691 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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.418e-05, allocations: 2.312 kB / 448.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001816/0.00184, allocations: 0.6977 MB / 449.6 MB, free: 4.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 5.728e-05/0.001897, allocations: 7.984 kB / 449.6 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.001935, allocations: 4.703 kB / 449.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.319e-05/0.001998, allocations: 8.641 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.541e-05/0.002033, allocations: 0.7656 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.519e-05/0.002068, allocations: 0.9375 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.002168, allocations: 32.73 kB / 449.7 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.002293, allocations: 20.7 kB / 449.7 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.00236, allocations: 29.69 kB / 449.7 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.002404, allocations: 14.92 kB / 449.8 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.002429, allocations: 4 kB / 449.8 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.00244, allocations: 1.688 kB / 449.8 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.002474, allocations: 10.62 kB / 449.8 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.002505, allocations: 5.969 kB / 449.8 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.9e-05/0.002604, allocations: 32.73 kB / 449.8 MB, free: 4.535 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.002621, allocations: 0.9062 kB / 449.8 MB, free: 4.535 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002622, allocations: 0 / 449.8 MB, free: 4.535 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.002641, allocations: 0 / 449.8 MB, free: 4.535 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003631/0.003004, allocations: 260.7 kB / 450.1 MB, free: 4.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.003041, allocations: 8.031 kB / 450.1 MB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.003084, allocations: 8.938 kB / 450.1 MB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.003231, allocations: 126.3 kB / 450.2 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003243, allocations: 4.922 kB / 450.2 MB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.003256, allocations: 6.297 kB / 450.2 MB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.00338, allocations: 56.25 kB / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.003388, allocations: 2.5 kB / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003396, allocations: 384 / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003402, allocations: 384 / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.003435, allocations: 20.73 kB / 450.3 MB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.003802, allocations: 341.1 kB / 450.6 MB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.712e-05/0.003889, allocations: 179 kB / 450.8 MB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.003918, allocations: 84.08 kB / 450.9 MB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.003943, allocations: 75.28 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.003986, allocations: 107.6 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.003987, allocations: 0.5469 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.162e-05/0.004049, allocations: 30.27 kB / 451.1 MB, free: 3.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.004107, allocations: 126.7 kB / 451.2 MB, free: 3.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.004195, allocations: 123.3 kB / 451.3 MB, free: 2.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.004205, allocations: 26.92 kB / 451.4 MB, free: 2.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.004264, allocations: 105 kB / 451.5 MB, free: 2.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.00427, allocations: 0 / 451.5 MB, free: 2.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.004301, allocations: 13.72 kB / 451.5 MB, free: 2.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.004393, allocations: 315.9 kB / 451.8 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.004401, allocations: 3.938 kB / 451.8 MB, free: 2.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.004409, allocations: 8.5 kB / 451.8 MB, free: 2.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.004438, allocations: 4.859 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.004441, allocations: 4.531 kB / 451.8 MB, free: 2.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.42e-05/0.004515, allocations: 31.33 kB / 451.8 MB, free: 2.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.004529, allocations: 13.3 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.004534, allocations: 0 / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.004542, allocations: 0 / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.004595, allocations: 4 kB / 451.9 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004598, allocations: 1.281 kB / 451.9 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.004617, allocations: 8 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.004626, allocations: 0 / 451.9 MB, free: 2.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.856e-05/0.004704, allocations: 192.5 kB / 452.1 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.004758, allocations: 110.2 kB / 452.2 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.004802, allocations: 104.5 kB / 452.3 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/0.004855, allocations: 184.2 kB / 452.4 MB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-05/0.004908, allocations: 184.2 kB / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/0.00496, allocations: 182.7 kB / 452.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.00514, allocations: 325.4 kB / 453.1 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.005175, allocations: 101 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.005208, allocations: 112.9 kB / 453.3 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.005247, allocations: 110.9 kB / 453.4 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.403e-05/0.005301, allocations: 184.2 kB / 453.6 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.005352, allocations: 176.3 kB / 453.8 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.346e-05/0.005405, allocations: 180.3 kB / 454 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/0.005475, allocations: 188.8 kB / 454.2 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.005599, allocations: 309.2 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.005661, allocations: 180.3 kB / 454.6 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.005733, allocations: 106.1 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.005788, allocations: 180.2 kB / 454.9 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.005819, allocations: 109 kB / 455 MB, free: 15.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.078e-05/0.005839, allocations: 14.53 kB / 455 MB, free: 15.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005839, allocations: 0 / 455 MB, free: 15.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.00603, allocations: 8.578 kB / 455 MB, free: 15 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 (0): * Single equations (assignments): 0 * 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.0001009/0.006131, allocations: 156.3 kB / 455.2 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.00619, allocations: 13.42 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.006194, allocations: 0.625 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.006195, allocations: 0 / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.006516, allocations: 461.5 kB / 455.7 MB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.006751, allocations: 211.9 kB / 455.9 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.006795, allocations: 63.34 kB / 455.9 MB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.006815, allocations: 0.5625 kB / 455.9 MB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.006856, allocations: 52.09 kB / 456 MB, free: 14.01 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006857, allocations: 0 / 456 MB, free: 14.01 MB / 442.7 MB Notification: Performance of Templates: time 0.0021/0.008956, allocations: 341.7 kB / 456.3 MB, free: 13.69 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5698120361194015]