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.001757/0.001757, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.00198/0.00198, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-535:34: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-535:42: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.416/1.416, allocations: 154.8 MB / 414.4 MB, free: 472 kB / 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 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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.347e-05, allocations: 3.719 kB / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001941/0.001975, allocations: 0.6977 MB / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003189, allocations: 0.8276 MB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.003231, allocations: 0 / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.003257, allocations: 0.5625 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.003351, allocations: 16.42 kB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.528e-05/0.003426, allocations: 11.98 kB / 0.5214 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.003529, allocations: 40.83 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.003647, allocations: 11.98 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003747, allocations: 21.45 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.003809, allocations: 19.92 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003827, allocations: 0 / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.003838, allocations: 4 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.003864, allocations: 16.62 kB / 0.5215 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.00389, allocations: 4 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.004003, allocations: 56.58 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004005, allocations: 0 / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004006, allocations: 1.719 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004011, allocations: 0 / 0.5216 GB, free: 0.5039 MB / 490.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.0005889/0.0046, allocations: 372.2 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004637, allocations: 8.031 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.004686, allocations: 13.48 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.004969, allocations: 109.7 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004982, allocations: 384 / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.004994, allocations: 4.375 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005195, allocations: 59.58 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.005205, allocations: 192 / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005214, allocations: 384 / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.005218, allocations: 1.156 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.005411, allocations: 53.11 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.005862, allocations: 267.8 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.006031, allocations: 57.67 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/0.006131, allocations: 27.77 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.006146, allocations: 0 / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.006187, allocations: 41.33 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.006188, allocations: 3.938 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004006/0.006588, allocations: 98.08 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.00664, allocations: 52.81 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.006783, allocations: 169.9 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.006804, allocations: 29.7 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.006894, allocations: 139.7 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.006913, allocations: 7.953 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.006956, allocations: 19.38 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.00722, allocations: 0.4932 MB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.007315, allocations: 19.98 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.007397, allocations: 20.92 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.007565, allocations: 48.22 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007567, allocations: 0.6562 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002287/0.007796, allocations: 74.88 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.007815, allocations: 11.94 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007819, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.007835, allocations: 0.625 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.007928, allocations: 9.812 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007933, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.00799, allocations: 15.94 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.007999, allocations: 4 kB / 0.5238 GB, free: 14.11 MB / 0.4948 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 0.0001131/0.008112, allocations: 157.5 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.008138, allocations: 8.266 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.008167, allocations: 14.59 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.008171, allocations: 3.984 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.008174, allocations: 0 / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.008179, allocations: 3.984 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.008348, allocations: 124.6 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008349, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.008415, allocations: 8 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008417, allocations: 3.125 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008424, allocations: 4 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.008427, allocations: 3.938 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008428, allocations: 0 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.008756, allocations: 223.9 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.008763, allocations: 0 / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.008782, allocations: 7.938 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.008862, allocations: 13.67 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.008908, allocations: 7.938 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.008914, allocations: 3.984 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.009, allocations: 131.2 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009, allocations: 0 / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002076/0.009208, allocations: 10.22 kB / 0.5245 GB, free: 13.34 MB / 0.4948 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.0001248/0.009333, allocations: 94 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.009585, allocations: 58.39 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009586, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.009691, allocations: 31.67 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.009942, allocations: 13.89 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.01029, allocations: 146 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.01036, allocations: 64.78 kB / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.0104, allocations: 4.641 kB / 0.5248 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.01044, allocations: 12.5 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01045, allocations: 2.062 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.003491/0.01394, allocations: 0.7345 MB / 0.5256 GB, free: 12.16 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.112709295004606]