Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008943/0.0008943, allocations: 80.44 kB / 19.9 MB, free: 4.52 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.0008606/0.0008606, allocations: 165.9 kB / 23.18 MB, free: 1.242 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.9106/0.9106, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7084/0.7084, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009088/0.0009088, allocations: 67.91 kB / 0.6199 GB, free: 12.72 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 FrontEnd - Absyn->SCode: time 0.4863/0.4872, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001391/0.4886, allocations: 0.6857 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.4893, allocations: 0.8301 MB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.4893, allocations: 0 / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.4893, allocations: 3.938 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.4894, allocations: 6.016 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.309e-05/0.4895, allocations: 15.8 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.4895, allocations: 38.64 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.4896, allocations: 12.27 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.4897, allocations: 29.12 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.4898, allocations: 27.25 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4898, allocations: 3.125 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.4898, allocations: 4.281 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.4898, allocations: 15.12 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.4898, allocations: 13.62 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.665e-05/0.4899, allocations: 40.25 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4899, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4899, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.49, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 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.0003906/0.4903, allocations: 287.7 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4904, allocations: 11.25 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.4904, allocations: 7.453 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.4905, allocations: 114.8 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4905, allocations: 2.562 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.4905, allocations: 1.656 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.4907, allocations: 77.02 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4907, allocations: 192 / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4907, allocations: 4.5 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4907, allocations: 5.094 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.4909, allocations: 70.28 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.4911, allocations: 211.3 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4912, allocations: 58.98 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.4913, allocations: 44.08 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.4914, allocations: 1.344 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.4914, allocations: 36.53 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4914, allocations: 0 / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003225/0.4917, allocations: 128.1 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.4917, allocations: 52.62 kB / 0.7222 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.13e-05/0.4918, allocations: 107 kB / 0.7223 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.4918, allocations: 27.61 kB / 0.7224 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.4918, allocations: 86.42 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4918, allocations: 18.81 kB / 0.7225 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.4918, allocations: 13.05 kB / 0.7225 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.4919, allocations: 314.4 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.492, allocations: 30.95 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.492, allocations: 34.5 kB / 0.7228 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4922, allocations: 66.47 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4922, allocations: 0 / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.4924, allocations: 106.6 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4924, allocations: 5.438 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4924, allocations: 0 / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4924, allocations: 1.188 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.4925, allocations: 20.27 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4925, allocations: 0 / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.4925, allocations: 11.66 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4925, allocations: 1.125 kB / 0.7231 GB, free: 20.76 MB / 0.6355 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 3.93e-05/0.4926, allocations: 119.4 kB / 0.7232 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4926, allocations: 10.5 kB / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.4926, allocations: 9.062 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4926, allocations: 1.875 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4926, allocations: 0 / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4926, allocations: 1.094 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.4927, allocations: 108 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.4927, allocations: 1.094 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.4927, allocations: 19.47 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4927, allocations: 0 / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4927, allocations: 9.125 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4927, allocations: 4.594 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4927, allocations: 1.156 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.4929, allocations: 191.2 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.4929, allocations: 13.02 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4929, allocations: 1.766 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.493, allocations: 15.8 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.493, allocations: 15.17 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.493, allocations: 1.125 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.212e-05/0.4931, allocations: 88.67 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4931, allocations: 0 / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001408/0.4932, allocations: 6.5 kB / 0.7236 GB, free: 20.23 MB / 0.6355 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 7.096e-05/0.4933, allocations: 93.3 kB / 0.7237 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.4935, allocations: 70.91 kB / 0.7238 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4935, allocations: 0 / 0.7238 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.4935, allocations: 37.2 kB / 0.7238 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4937, allocations: 10.81 kB / 0.7238 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.494, allocations: 124.9 kB / 0.724 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.494, allocations: 67.95 kB / 0.724 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.494, allocations: 1.953 kB / 0.724 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.4941, allocations: 14.72 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/0.4941, allocations: 0 / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.002173/0.4962, allocations: 0.7342 MB / 0.7248 GB, free: 19.82 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.214028160087764] Failed to read output from testmodel.py, exit status != 0: 0.5015034829266369 0.51050213 0.018793592 Calling exit ...