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.0012/0.0012, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.001429/0.001429, allocations: 211.8 kB / 23.01 MB, free: 3.113 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 0.8942/0.8942, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.03607/0.03607, allocations: 12.19 MB / 325.4 MB, free: 3.402 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.0004536/0.0004536, allocations: 30.25 kB / 384.9 MB, free: 45.8 MB / 298.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.622/1.622, allocations: 353.8 MB / 0.7795 GB, free: 13.09 MB / 0.5262 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.001384/0.001384, allocations: 119.7 kB / 1.061 GB, free: 9.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2304, allocations: 134.9 MB / 1.193 GB, free: 2.543 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001459/0.2318, allocations: 0.6983 MB / 1.194 GB, free: 1.844 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000696/0.2325, allocations: 0.842 MB / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.2326, allocations: 0 / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.2326, allocations: 11.94 kB / 1.195 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.2327, allocations: 7.922 kB / 1.195 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.354e-05/0.2327, allocations: 11.98 kB / 1.195 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.2328, allocations: 35.92 kB / 1.195 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2329, allocations: 11.98 kB / 1.195 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.233, allocations: 23.86 kB / 1.195 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.106e-05/0.2331, allocations: 19.92 kB / 1.195 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2331, allocations: 4 kB / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.2331, allocations: 4 kB / 1.195 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2331, allocations: 7.938 kB / 1.195 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.2331, allocations: 27.91 kB / 1.195 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.2332, allocations: 39.81 kB / 1.195 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2332, allocations: 0 / 1.195 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2332, allocations: 0 / 1.195 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2332, allocations: 3.938 kB / 1.195 GB, free: 0.7852 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.0004094/0.2336, allocations: 282.3 kB / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2337, allocations: 11.98 kB / 1.195 GB, free: 476 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.2337, allocations: 8.875 kB / 1.195 GB, free: 468 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2338, allocations: 114.5 kB / 1.195 GB, free: 328 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2338, allocations: 8.375 kB / 1.195 GB, free: 320 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2339, allocations: 384 / 1.195 GB, free: 320 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.234, allocations: 66.22 kB / 1.195 GB, free: 248 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.234, allocations: 4.125 kB / 1.195 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.234, allocations: 7.938 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2341, allocations: 0 / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2342, allocations: 67.92 kB / 1.195 GB, free: 168 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.2345, allocations: 236 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2346, allocations: 58.47 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.2347, allocations: 44.84 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2347, allocations: 0 / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.2347, allocations: 30.56 kB / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2347, allocations: 0 / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.0003083/0.235, allocations: 137.6 kB / 1.196 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2351, allocations: 51.41 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.2351, allocations: 109.8 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.2351, allocations: 25.7 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2352, allocations: 96.08 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.2352, allocations: 3.953 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.2352, allocations: 13.72 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.2353, allocations: 322.8 kB / 1.196 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.2354, allocations: 31.91 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.2354, allocations: 35.95 kB / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2355, allocations: 64.8 kB / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2355, allocations: 3.938 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001506/0.2357, allocations: 97.61 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2357, allocations: 8 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2357, allocations: 0 / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2357, allocations: 0 / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.2358, allocations: 15.98 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2358, allocations: 4 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.2358, allocations: 19.81 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2358, allocations: 4 kB / 1.197 GB, free: 14.65 MB / 0.8387 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 5.287e-05/0.2359, allocations: 113.8 kB / 1.197 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2359, allocations: 7.984 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.2359, allocations: 8 kB / 1.197 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2359, allocations: 0 / 1.197 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2359, allocations: 4 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2359, allocations: 0 / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.236, allocations: 140.7 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.236, allocations: 0 / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.2361, allocations: 23.97 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2361, allocations: 0 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2361, allocations: 0 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.2361, allocations: 320 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2361, allocations: 0 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.2363, allocations: 203.3 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.2363, allocations: 3.938 kB / 1.197 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.2363, allocations: 0 / 1.197 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.2363, allocations: 20.34 kB / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2364, allocations: 0 / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2364, allocations: 8 kB / 1.197 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.2364, allocations: 91.25 kB / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2364, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001407/0.2365, allocations: 8 kB / 1.197 GB, free: 13.96 MB / 0.8387 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 7.97e-05/0.2366, allocations: 91.25 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2368, allocations: 71.91 kB / 1.197 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.2368, allocations: 7.938 kB / 1.197 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.2369, allocations: 39.89 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2371, allocations: 7.938 kB / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.2373, allocations: 144.8 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.2375, allocations: 0.6885 MB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.2375, allocations: 15.44 kB / 1.198 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of SimCode: time 4.41e-07/0.2375, allocations: 0 / 1.198 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of Templates: time 0.001504/0.239, allocations: 0.7398 MB / 1.199 GB, free: 12.1 MB / 0.8387 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: 6.667158526368439] Failed to read output from testmodel.py, exit status != 0: 0.244313333183527 0.25211513 0.017284434 Calling exit ...