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.0008417/0.0008417, allocations: 96.38 kB / 19.7 MB, free: 448 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.001266/0.001266, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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.02/1.02, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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.03803/0.03803, allocations: 12.19 MB / 325.4 MB, free: 6.094 MB / 250.7 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.0003219/0.0003219, allocations: 23.97 kB / 384.8 MB, free: 10.52 MB / 314.7 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 1.756/1.756, allocations: 353.9 MB / 0.7795 GB, free: 4.551 MB / 0.5105 GB " [Timeout remaining time 178] 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.001497/0.001497, allocations: 124.2 kB / 1.061 GB, free: 24.38 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 134.9 MB / 1.193 GB, free: 6.969 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001752/0.3093, allocations: 0.6788 MB / 1.194 GB, free: 6.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.3102, allocations: 0.832 MB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.3102, allocations: 0 / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3102, allocations: 0 / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.3103, allocations: 23.84 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 7.307e-05/0.3104, allocations: 7.984 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3105, allocations: 43.92 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3106, allocations: 7.922 kB / 1.195 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.3107, allocations: 16 kB / 1.195 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.3107, allocations: 19.91 kB / 1.195 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3108, allocations: 4 kB / 1.195 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.3108, allocations: 4 kB / 1.195 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3108, allocations: 7.938 kB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.3108, allocations: 15.92 kB / 1.195 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.3109, allocations: 47.8 kB / 1.195 GB, free: 5.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3109, allocations: 0 / 1.195 GB, free: 5.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3109, allocations: 4 kB / 1.195 GB, free: 5.246 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3109, allocations: 3.938 kB / 1.195 GB, free: 5.242 MB / 0.823 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.0004489/0.3114, allocations: 286.2 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3114, allocations: 8.031 kB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3115, allocations: 8.891 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.3116, allocations: 114.5 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3116, allocations: 384 / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3116, allocations: 4.375 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3118, allocations: 70.22 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3118, allocations: 192 / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3118, allocations: 7.875 kB / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3118, allocations: 0 / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3119, allocations: 67.91 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3123, allocations: 212.5 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3124, allocations: 58.53 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.3125, allocations: 36.86 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3125, allocations: 0 / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3125, allocations: 34.56 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3125, allocations: 0 / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003309/0.3128, allocations: 133.5 kB / 1.196 GB, free: 4.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3129, allocations: 51.41 kB / 1.196 GB, free: 4.039 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.3129, allocations: 113.8 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.313, allocations: 25.7 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.313, allocations: 84.09 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.313, allocations: 15.94 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.313, allocations: 13.72 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.3131, allocations: 318.8 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.3132, allocations: 35.95 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.3133, allocations: 27.97 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3134, allocations: 76.72 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3134, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00018/0.3136, allocations: 97.56 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3136, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3136, allocations: 0 / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3136, allocations: 4 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.3137, allocations: 15.98 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3137, allocations: 3.984 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.3138, allocations: 15.94 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.3138, allocations: 0 / 1.196 GB, free: 3.16 MB / 0.823 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 6.207e-05/0.3138, allocations: 113.8 kB / 1.197 GB, free: 3.039 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.3139, allocations: 3.938 kB / 1.197 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.3139, allocations: 8 kB / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3139, allocations: 0 / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3139, allocations: 0 / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3139, allocations: 3.938 kB / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.314, allocations: 121.3 kB / 1.197 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.314, allocations: 3.938 kB / 1.197 GB, free: 2.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.314, allocations: 27.84 kB / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.314, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.314, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.314, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.314, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3142, allocations: 195.8 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.3143, allocations: 11.88 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3143, allocations: 3.984 kB / 1.197 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.3143, allocations: 11.98 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3144, allocations: 4.031 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3144, allocations: 0 / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.3144, allocations: 91.27 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3144, allocations: 0 / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00014/0.3145, allocations: 8 kB / 1.197 GB, free: 2.5 MB / 0.823 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.0001171/0.3147, allocations: 99.19 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3149, allocations: 63.92 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3149, allocations: 8 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3149, allocations: 35.95 kB / 1.197 GB, free: 2.289 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3152, allocations: 4 kB / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.3155, allocations: 159.1 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.3e-05/0.3155, allocations: 71.23 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3156, allocations: 7.438 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.3156, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of Templates: time 0.001734/0.3173, allocations: 0.7676 MB / 1.198 GB, free: 1.242 MB / 0.823 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: 7.543727055191994] Failed to read output from testmodel.py, exit status != 0: 0.3235213300213218 0.331668758 0.019008385000000003 Calling exit ...