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.001396/0.001396, allocations: 88.72 kB / 19.44 MB, free: 352 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.001654/0.001654, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.172 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.249/1.249, allocations: 154.8 MB / 414.3 MB, free: 372 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.234e-06/2.234e-06, allocations: 0.7656 kB / 0.5199 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.078e-05, allocations: 4.062 kB / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002551/0.002582, allocations: 0.6891 MB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004222, allocations: 0.8251 MB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.004265, allocations: 4 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.004302, allocations: 5.391 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.004385, allocations: 12.08 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.619e-05/0.004461, allocations: 11.98 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.004571, allocations: 45.2 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004678, allocations: 11.98 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004791, allocations: 19.98 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.004844, allocations: 17.73 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.004867, allocations: 4 kB / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.004879, allocations: 4 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.0049, allocations: 7.984 kB / 0.5215 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.004946, allocations: 15.92 kB / 0.5215 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.005062, allocations: 42.11 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005065, allocations: 0 / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005066, allocations: 3.938 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.005069, 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.0007298/0.005799, allocations: 282.8 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.005848, allocations: 16.02 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.005899, allocations: 9.891 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.006045, allocations: 105.8 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.006065, allocations: 5 kB / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.006077, allocations: 384 / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.00646, allocations: 71.47 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006469, allocations: 192 / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.006482, allocations: 5.312 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.006487, allocations: 384 / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.006982, allocations: 73.27 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.007448, allocations: 205.6 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.007779, allocations: 59.22 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.008023, allocations: 34.2 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.008038, allocations: 0 / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.008091, allocations: 39.2 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.008092, allocations: 0 / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000875/0.008967, allocations: 131.8 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.009025, allocations: 53.5 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.009178, allocations: 113.8 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.009213, allocations: 29.7 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.009296, allocations: 88.08 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.009331, allocations: 15.89 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.009385, allocations: 9.719 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.009633, allocations: 319.9 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.009882, allocations: 33.45 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.0101, allocations: 23.97 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.01058, allocations: 74.25 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01058, allocations: 0.8125 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005535/0.01113, allocations: 98.75 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.01116, allocations: 14.66 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01116, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01118, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01138, allocations: 15.97 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01139, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.01152, allocations: 15.94 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.01153, allocations: 2.438 kB / 0.5234 GB, free: 14.45 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.000133/0.01166, allocations: 113.8 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.01171, allocations: 4.328 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.01174, allocations: 7.938 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01175, allocations: 7.922 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.01175, allocations: 1.531 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.01176, allocations: 7.938 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.01202, allocations: 113.3 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01202, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.01218, allocations: 21 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01218, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01219, allocations: 1.062 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.0122, allocations: 3.938 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0122, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.01282, allocations: 194.7 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01284, allocations: 7.984 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01286, allocations: 4 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.01305, allocations: 11.92 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.01311, allocations: 4 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.01312, allocations: 3.031 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.01322, allocations: 95.2 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01322, allocations: 0 / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004189/0.01364, allocations: 4 kB / 0.524 GB, free: 13.8 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.0003777/0.01401, allocations: 91.25 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005362/0.01455, allocations: 69.33 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01455, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.0148, allocations: 37.23 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.01531, allocations: 9.906 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.01577, allocations: 137 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.01587, allocations: 64.84 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.721e-05/0.01592, allocations: 4.828 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.01597, allocations: 12.5 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01597, allocations: 0.5938 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.003211/0.01918, allocations: 0.7421 MB / 0.5252 GB, free: 12.62 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.894904354005121]