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.00127/0.00127, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001585/0.001585, allocations: 167.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.181/1.181, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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 2.404e-06/2.404e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.552e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001841/0.001876, allocations: 0.679 MB / 0.6193 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002951, allocations: 0.8276 MB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.002989, allocations: 3.938 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.003015, allocations: 0 / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.003072, allocations: 11.88 kB / 0.6201 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.499e-05/0.003137, allocations: 19.97 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.003225, allocations: 43.84 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003326, allocations: 8 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.003403, allocations: 27.91 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.003442, allocations: 11.98 kB / 0.6202 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.003469, allocations: 4 kB / 0.6202 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.00348, allocations: 4 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.003499, allocations: 7.938 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.003533, allocations: 15.98 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.003628, allocations: 47.91 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00363, allocations: 0 / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003631, allocations: 3.938 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.003639, allocations: 0 / 0.6203 GB, free: 2.762 MB / 0.5294 GB 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.0005234/0.004163, allocations: 294.1 kB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.004198, allocations: 12.03 kB / 0.6206 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.004224, allocations: 4.891 kB / 0.6206 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.004342, allocations: 105.8 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.004357, allocations: 4.375 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.004371, allocations: 4.375 kB / 0.6207 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.004639, allocations: 74.2 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.004649, allocations: 192 / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004659, allocations: 384 / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004664, allocations: 4.375 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.00497, allocations: 67.86 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.005332, allocations: 212.5 kB / 0.6211 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.005551, allocations: 50.64 kB / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.005714, allocations: 40.81 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.005729, allocations: 0 / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.005754, allocations: 30.56 kB / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005755, allocations: 0 / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005722/0.006327, allocations: 137.5 kB / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.006367, allocations: 55.41 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.006466, allocations: 109.8 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.006486, allocations: 25.7 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.006537, allocations: 88.14 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.006563, allocations: 19.83 kB / 0.6216 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.006598, allocations: 17.72 kB / 0.6216 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.006739, allocations: 318.8 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.006893, allocations: 27.97 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.007033, allocations: 31.95 kB / 0.622 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.007313, allocations: 68.8 kB / 0.622 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007315, allocations: 3.938 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.007648, allocations: 105.5 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.007665, allocations: 7.938 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.00767, allocations: 0 / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.007685, allocations: 0 / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.007821, allocations: 20.31 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007825, allocations: 3.938 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.007904, allocations: 11.98 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007911, allocations: 0 / 0.6222 GB, free: 0.668 MB / 0.5294 GB 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.546e-05/0.007996, allocations: 115.7 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.008021, allocations: 3.953 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.008051, allocations: 15.92 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.008052, allocations: 0 / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.008056, allocations: 4 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008059, allocations: 4 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.008195, allocations: 105.3 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008196, allocations: 4 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.008298, allocations: 19.92 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.0083, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.008307, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.008312, allocations: 7.938 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.008318, allocations: 7.984 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.008718, allocations: 191.4 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.008724, allocations: 0 / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.008738, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.00885, allocations: 11.92 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.008899, allocations: 11.98 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.008903, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.008956, allocations: 91.27 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.008956, allocations: 0 / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002165/0.009173, allocations: 4 kB / 0.6228 GB, free: 16 kB / 0.5294 GB 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 0.0001424/0.009315, allocations: 99.25 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.009667, allocations: 71.86 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009668, allocations: 0 / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.009827, allocations: 31.97 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.01012, allocations: 18.17 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.01045, allocations: 120.7 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.01051, allocations: 63.34 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.01054, allocations: 3.938 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.01057, allocations: 12.44 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01057, allocations: 7.938 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Templates: time 0.003157/0.01373, allocations: 0.7371 MB / 0.6239 GB, free: 14.83 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5531289875507355] Failed to read output from testmodel.py, exit status != 0: 0.022115375846624374 0.03657942 0.029888992000000003 Calling exit ...