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.001335/0.001335, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.00142/0.00142, allocations: 168.2 kB / 22.44 MB, free: 5.34 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.424/1.424, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.174/1.174, allocations: 155 MB / 414.2 MB, free: 4.957 MB / 382.1 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 178] 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.002111/0.002111, allocations: 69.86 kB / 0.6192 GB, free: 4.098 MB / 0.5294 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.5098/0.5119, allocations: 102 MB / 0.7188 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001855/0.5138, allocations: 0.6877 MB / 0.7195 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.5146, allocations: 0.8295 MB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.5146, allocations: 1.125 kB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.5147, allocations: 3.938 kB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.5147, allocations: 9.562 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.859e-05/0.5148, allocations: 15.42 kB / 0.7203 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.5149, allocations: 38.78 kB / 0.7203 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.515, allocations: 9.641 kB / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.515, allocations: 29.09 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.5151, allocations: 22.83 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.5151, allocations: 2.75 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-06/0.5151, allocations: 4.219 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.5151, allocations: 11.05 kB / 0.7204 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.5151, allocations: 13.02 kB / 0.7204 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.5152, allocations: 53.38 kB / 0.7205 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5152, allocations: 0 / 0.7205 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5152, allocations: 0 / 0.7205 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5153, allocations: 0 / 0.7205 GB, free: 0.6055 MB / 0.6075 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.0004386/0.5157, allocations: 292.8 kB / 0.7208 GB, free: 332 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5157, allocations: 15.62 kB / 0.7208 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.5158, allocations: 6.734 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.493e-05/0.5158, allocations: 111.3 kB / 0.7209 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5159, allocations: 6.375 kB / 0.7209 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.5159, allocations: 1.406 kB / 0.7209 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.5161, allocations: 73.52 kB / 0.721 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5161, allocations: 192 / 0.721 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5161, allocations: 7.922 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5162, allocations: 5.281 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.5164, allocations: 62.08 kB / 0.721 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.5168, allocations: 207.5 kB / 0.7212 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.517, allocations: 55.34 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.5172, allocations: 44.38 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5172, allocations: 0 / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5173, allocations: 37.94 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5173, allocations: 0 / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.000544/0.5178, allocations: 123.7 kB / 0.7215 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.5179, allocations: 56.11 kB / 0.7215 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.518, allocations: 107.9 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.518, allocations: 30.25 kB / 0.7217 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.5181, allocations: 86.98 kB / 0.7218 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.5181, allocations: 11.17 kB / 0.7218 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.5182, allocations: 17.09 kB / 0.7218 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5183, allocations: 317.4 kB / 0.7221 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5185, allocations: 31 kB / 0.7221 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.5186, allocations: 35.52 kB / 0.7222 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.5189, allocations: 66.41 kB / 0.7222 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5189, allocations: 1.125 kB / 0.7222 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.5192, allocations: 101.1 kB / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5192, allocations: 6.938 kB / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5192, allocations: 0 / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5192, allocations: 0 / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5193, allocations: 23.33 kB / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5194, allocations: 0 / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.5194, allocations: 15.56 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5194, allocations: 2.094 kB / 0.7224 GB, free: 15.05 MB / 0.6231 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.052e-05/0.5195, allocations: 113.2 kB / 0.7225 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.5195, allocations: 15.27 kB / 0.7225 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.5196, allocations: 9.922 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5196, allocations: 0 / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5196, allocations: 1.062 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5196, allocations: 0.75 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.5197, allocations: 116.3 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5197, allocations: 0 / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5198, allocations: 19.8 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5198, allocations: 1.219 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5198, allocations: 0 / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5198, allocations: 5.062 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5198, allocations: 0.6094 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.5202, allocations: 199.6 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.5202, allocations: 8.953 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.5203, allocations: 2.109 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.5204, allocations: 11.3 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.5204, allocations: 11.78 kB / 0.7229 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.5204, allocations: 2.094 kB / 0.7229 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.5205, allocations: 91.7 kB / 0.7229 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5205, allocations: 0 / 0.7229 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00021/0.5207, allocations: 7.281 kB / 0.7229 GB, free: 14.53 MB / 0.6231 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.0001022/0.5208, allocations: 92.44 kB / 0.723 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.5211, allocations: 75.14 kB / 0.7231 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5211, allocations: 0 / 0.7231 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5213, allocations: 37.97 kB / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5215, allocations: 6.75 kB / 0.7232 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.5219, allocations: 130.8 kB / 0.7233 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.5219, allocations: 63.67 kB / 0.7233 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.5219, allocations: 5.906 kB / 0.7233 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.522, allocations: 10.69 kB / 0.7234 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.522, allocations: 0 / 0.7234 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.003072/0.525, allocations: 0.7347 MB / 0.7241 GB, free: 14.11 MB / 0.6231 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.031154956668615] Failed to read output from testmodel.py, exit status != 0: 0.5338288489729166 0.548364987 0.029863954 Calling exit ...