Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001489/0.001489, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00178/0.00178, allocations: 215.3 kB / 22.25 MB, free: 5.082 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.1033/0.1033, allocations: 12.19 MB / 324.6 MB, free: 7.305 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007833/0.0007833, allocations: 38.12 kB / 384.1 MB, free: 46.53 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.623/2.623, allocations: 353.8 MB / 0.7787 GB, free: 1.055 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003559/0.003559, allocations: 123.6 kB / 1.061 GB, free: 13.01 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2954, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001994/0.2974, allocations: 0.696 MB / 1.193 GB, free: 5.496 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2985, allocations: 0.8359 MB / 1.194 GB, free: 4.648 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2986, allocations: 3.938 kB / 1.194 GB, free: 4.645 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.2986, allocations: 3.984 kB / 1.194 GB, free: 4.641 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.2987, allocations: 15.88 kB / 1.194 GB, free: 4.625 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 6.102e-05/0.2987, allocations: 7.984 kB / 1.194 GB, free: 4.617 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.2988, allocations: 39.92 kB / 1.194 GB, free: 4.578 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2989, allocations: 11.98 kB / 1.194 GB, free: 4.566 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.299, allocations: 23.91 kB / 1.194 GB, free: 4.543 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.299, allocations: 19.92 kB / 1.194 GB, free: 4.523 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2991, allocations: 4 kB / 1.194 GB, free: 4.52 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.2991, allocations: 4 kB / 1.194 GB, free: 4.516 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.2991, allocations: 7.938 kB / 1.194 GB, free: 4.508 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.2991, allocations: 15.92 kB / 1.194 GB, free: 4.492 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 9.866e-05/0.2992, allocations: 43.81 kB / 1.194 GB, free: 4.449 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2992, allocations: 3.938 kB / 1.194 GB, free: 4.445 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2992, allocations: 0 / 1.194 GB, free: 4.445 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2992, allocations: 0 / 1.194 GB, free: 4.445 MB / 0.8263 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.0005437/0.2998, allocations: 290.2 kB / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2998, allocations: 15.98 kB / 1.194 GB, free: 4.113 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.2999, allocations: 8.828 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3, allocations: 114.5 kB / 1.194 GB, free: 3.969 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3, allocations: 4.375 kB / 1.194 GB, free: 3.965 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3, allocations: 8.375 kB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3002, allocations: 62.22 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3003, allocations: 192 / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3003, allocations: 3.938 kB / 1.194 GB, free: 3.887 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3003, allocations: 0 / 1.194 GB, free: 3.887 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.3006, allocations: 67.92 kB / 1.195 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.301, allocations: 243.9 kB / 1.195 GB, free: 3.539 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3012, allocations: 58.47 kB / 1.195 GB, free: 3.473 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3013, allocations: 40.92 kB / 1.195 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3013, allocations: 0 / 1.195 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3013, allocations: 30.56 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3014, allocations: 0 / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005255/0.3019, allocations: 133.7 kB / 1.195 GB, free: 3.254 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3019, allocations: 51.41 kB / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.302, allocations: 109.8 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3021, allocations: 29.7 kB / 1.195 GB, free: 3.039 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.3021, allocations: 84.09 kB / 1.195 GB, free: 2.953 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3021, allocations: 11.95 kB / 1.195 GB, free: 2.941 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3022, allocations: 9.719 kB / 1.195 GB, free: 2.926 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3023, allocations: 322.8 kB / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3025, allocations: 31.97 kB / 1.196 GB, free: 2.57 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3026, allocations: 35.98 kB / 1.196 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3029, allocations: 68.78 kB / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3029, allocations: 7.938 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.3032, allocations: 97.56 kB / 1.196 GB, free: 2.355 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3032, allocations: 4 kB / 1.196 GB, free: 2.352 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3032, allocations: 0 / 1.196 GB, free: 2.352 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3032, allocations: 4 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3034, allocations: 11.98 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3034, allocations: 0 / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.3034, allocations: 19.94 kB / 1.196 GB, free: 2.316 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3035, allocations: 3.938 kB / 1.196 GB, free: 2.312 MB / 0.8263 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.0001014/0.3036, allocations: 121.8 kB / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3036, allocations: 0 / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3036, allocations: 11.94 kB / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3036, allocations: 0 / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3036, allocations: 0 / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3036, allocations: 0 / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3038, allocations: 148.6 kB / 1.196 GB, free: 1.977 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3038, allocations: 4 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.3039, allocations: 23.91 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3039, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3039, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3039, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3039, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3043, allocations: 199.4 kB / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.3043, allocations: 7.984 kB / 1.196 GB, free: 1.73 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3043, allocations: 0 / 1.196 GB, free: 1.73 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3044, allocations: 11.98 kB / 1.196 GB, free: 1.719 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3045, allocations: 4 kB / 1.196 GB, free: 1.715 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3045, allocations: 0 / 1.196 GB, free: 1.715 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.3045, allocations: 95.27 kB / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3045, allocations: 0 / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002176/0.3048, allocations: 4 kB / 1.196 GB, free: 1.617 MB / 0.8263 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.0001105/0.3049, allocations: 95.25 kB / 1.197 GB, free: 1.516 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.3052, allocations: 67.86 kB / 1.197 GB, free: 1.449 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3052, allocations: 4 kB / 1.197 GB, free: 1.445 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3053, allocations: 35.95 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3056, allocations: 9.5 kB / 1.197 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.306, allocations: 127.3 kB / 1.197 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3064, allocations: 0.6807 MB / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.3064, allocations: 4 kB / 1.197 GB, free: 0.543 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.3065, allocations: 11.44 kB / 1.197 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of SimCode: time 3.3e-07/0.3065, allocations: 0 / 1.197 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of Templates: time 0.003338/0.3098, allocations: 0.7091 MB / 1.198 GB, free: 15.83 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.292888022959232] Failed to read output from testmodel.py, exit status != 0: 0.31840816140174866 0.33441879999999996 0.031910052 Calling exit ...