Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0007828/0.0007828, allocations: 80.94 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.001031/0.001031, allocations: 173 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 1.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.508 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.8682/0.8682, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.244e-05, allocations: 5.484 kB / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001452/0.001474, allocations: 0.7462 MB / 480.9 MB, free: 6.094 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008006/0.002275, allocations: 0.8503 MB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.002312, allocations: 0 / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.002333, allocations: 6.125 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.002393, allocations: 6.625 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.959e-05/0.002443, allocations: 12.53 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.002508, allocations: 43.41 kB / 481.8 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.295e-05/0.002571, allocations: 8 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.002641, allocations: 30.89 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.002676, allocations: 17.61 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002689, allocations: 4 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-06/0.002696, allocations: 4.875 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.002711, allocations: 5.422 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.00273, allocations: 15.08 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.556e-05/0.002796, allocations: 33.88 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002797, allocations: 0 / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002798, allocations: 0.625 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002801, allocations: 0.625 kB / 481.9 MB, free: 5.074 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.0002531/0.003054, allocations: 252.6 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.003081, allocations: 8.031 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.003101, allocations: 6.406 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.003173, allocations: 122.2 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.003179, allocations: 1.141 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.003185, allocations: 4.906 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003287, allocations: 67.47 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.003292, allocations: 1 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-06/0.003297, allocations: 384 / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003303, allocations: 5.312 kB / 482.3 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.003323, allocations: 9.719 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.003501, allocations: 153.7 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.003544, allocations: 22.58 kB / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.003559, allocations: 13.36 kB / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.003565, allocations: 96 / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.003582, allocations: 35.55 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003583, allocations: 0.6094 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.292e-05/0.003676, allocations: 50.44 kB / 482.6 MB, free: 4.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.003702, allocations: 52.17 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.003762, allocations: 115.6 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.003772, allocations: 29.7 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.003798, allocations: 84.09 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.003811, allocations: 4.984 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.003836, allocations: 17.72 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.003924, allocations: 328.3 kB / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.003934, allocations: 0 / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.003945, allocations: 5.75 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.00397, allocations: 12.84 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003971, allocations: 0 / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.945e-05/0.004021, allocations: 45.47 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004031, allocations: 4 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.004035, allocations: 0 / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.004044, allocations: 9.812 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.004103, allocations: 11.94 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004105, allocations: 0 / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.004132, allocations: 7.984 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.004138, allocations: 4.844 kB / 483.3 MB, free: 3.484 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 8.072e-05/0.004218, allocations: 105.8 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.004237, allocations: 9.156 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.004254, allocations: 7.984 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.004256, allocations: 3.938 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004257, allocations: 1.031 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004259, allocations: 0 / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/0.004342, allocations: 69.89 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004343, allocations: 0.5938 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.004373, allocations: 13.42 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004374, allocations: 0 / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.004379, allocations: 4 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004379, allocations: 0 / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00438, allocations: 4.688 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.004456, allocations: 139.5 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.004465, allocations: 16.84 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-06/0.004472, allocations: 0 / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.004508, allocations: 4.625 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.004536, allocations: 11.98 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004539, allocations: 8.969 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.004552, allocations: 13.16 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004552, allocations: 0 / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.004668, allocations: 8.531 kB / 483.8 MB, free: 3.031 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.254e-05/0.00473, allocations: 77.28 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.004784, allocations: 18.02 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.004787, allocations: 0 / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.004805, allocations: 16.8 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.004928, allocations: 14.02 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.005136, allocations: 122.5 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.005166, allocations: 63.78 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.005186, allocations: 1.312 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.005234, allocations: 59.88 kB / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.005234, allocations: 0 / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of Templates: time 0.002082/0.007316, allocations: 0.6749 MB / 484.8 MB, free: 1.98 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5710774888284504]