Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.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.001389/0.001389, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001519/0.001519, allocations: 210 kB / 22.24 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.789 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.06345/0.06345, allocations: 12.19 MB / 324.6 MB, free: 7.07 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.0008403/0.0008403, allocations: 33.89 kB / 384.1 MB, free: 47.5 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.548/2.548, allocations: 353.9 MB / 0.7787 GB, free: 1.625 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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") [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.003726/0.003726, allocations: 118.1 kB / 1.06 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3587, allocations: 134.9 MB / 1.192 GB, free: 5.762 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002473/0.3611, allocations: 0.7959 MB / 1.193 GB, free: 4.965 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3628, allocations: 1.032 MB / 1.194 GB, free: 3.922 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.3629, allocations: 4 kB / 1.194 GB, free: 3.918 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3631, allocations: 11.86 kB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.3631, allocations: 23.73 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.3637, allocations: 95.77 kB / 1.194 GB, free: 3.789 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.3639, allocations: 123.7 kB / 1.194 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3641, allocations: 37.27 kB / 1.194 GB, free: 3.629 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3643, allocations: 51.78 kB / 1.194 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3644, allocations: 51.81 kB / 1.194 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.3644, allocations: 19.94 kB / 1.194 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3646, allocations: 83.91 kB / 1.194 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.3647, allocations: 35.92 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.3648, allocations: 55.64 kB / 1.195 GB, free: 3.336 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.3652, allocations: 211.1 kB / 1.195 GB, free: 3.129 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3652, allocations: 0 / 1.195 GB, free: 3.129 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3652, allocations: 0 / 1.195 GB, free: 3.129 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3652, allocations: 3.938 kB / 1.195 GB, free: 3.125 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001055/0.3662, allocations: 433.4 kB / 1.195 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3663, allocations: 11.98 kB / 1.195 GB, free: 2.656 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.3663, allocations: 20.8 kB / 1.195 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3666, allocations: 154.8 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3666, allocations: 12.38 kB / 1.195 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.3667, allocations: 4.375 kB / 1.195 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.3673, allocations: 203.4 kB / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3673, allocations: 192 / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3673, allocations: 7.938 kB / 1.196 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3673, allocations: 4 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.3681, allocations: 223.7 kB / 1.196 GB, free: 2.012 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3691, allocations: 455.7 kB / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.3695, allocations: 154.5 kB / 1.196 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.3699, allocations: 136.8 kB / 1.197 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.37, allocations: 7.938 kB / 1.197 GB, free: 1.23 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.37, allocations: 42.55 kB / 1.197 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.37, allocations: 0 / 1.197 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of matching and sorting (n=25): time 0.001488/0.3715, allocations: 471.4 kB / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3716, allocations: 55.41 kB / 1.197 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3717, allocations: 157.2 kB / 1.197 GB, free: 500 kB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3718, allocations: 25.7 kB / 1.197 GB, free: 468 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.3719, allocations: 112.5 kB / 1.197 GB, free: 352 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.3719, allocations: 71.38 kB / 1.197 GB, free: 280 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.372, allocations: 29.72 kB / 1.197 GB, free: 244 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3722, allocations: 334.8 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.3726, allocations: 127.9 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.373, allocations: 140.5 kB / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.3738, allocations: 296.7 kB / 1.198 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3738, allocations: 3.938 kB / 1.198 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008704/0.3747, allocations: 333.4 kB / 1.199 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3747, allocations: 4 kB / 1.199 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.3747, allocations: 8 kB / 1.199 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3747, allocations: 0 / 1.199 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3749, allocations: 31.95 kB / 1.199 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.375, allocations: 4 kB / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3751, allocations: 47.72 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3752, allocations: 4 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001673/0.3753, allocations: 137.8 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3754, allocations: 15.89 kB / 1.199 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.3763, allocations: 362.5 kB / 1.199 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3763, allocations: 4 kB / 1.199 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3763, allocations: 0 / 1.199 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3764, allocations: 7.922 kB / 1.199 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.3766, allocations: 185.2 kB / 1.199 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3766, allocations: 4 kB / 1.199 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.3768, allocations: 39.83 kB / 1.199 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.3768, allocations: 7.984 kB / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3768, allocations: 4 kB / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3768, allocations: 0 / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3768, allocations: 0 / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/0.3778, allocations: 443 kB / 1.2 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.3778, allocations: 19.8 kB / 1.2 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3778, allocations: 8 kB / 1.2 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.378, allocations: 31.95 kB / 1.2 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3781, allocations: 11.98 kB / 1.2 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3781, allocations: 0 / 1.2 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.3782, allocations: 122.5 kB / 1.2 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 4 kB / 1.2 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003117/0.3785, allocations: 43.94 kB / 1.2 GB, free: 13.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002628/0.3788, allocations: 117.4 kB / 1.2 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009433/0.3797, allocations: 367.1 kB / 1.201 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3797, allocations: 0 / 1.201 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3802, allocations: 223.8 kB / 1.201 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3805, allocations: 28.06 kB / 1.201 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.3812, allocations: 343.2 kB / 1.201 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3814, allocations: 118.8 kB / 1.201 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.218e-05/0.3814, allocations: 19.97 kB / 1.201 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3815, allocations: 11.44 kB / 1.201 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3815, allocations: 0 / 1.201 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.005996/0.3875, allocations: 2.263 MB / 1.203 GB, free: 9.926 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.577766876667738] Failed to read output from testmodel.py, exit status != 0: 0.39691850170493126 0.410847233 0.042452696000000005 Calling exit ...