Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.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.001522/0.001522, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001896/0.001896, allocations: 210.6 kB / 22.24 MB, free: 5.242 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.635/1.635, 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.06828/0.06828, allocations: 12.19 MB / 324.6 MB, free: 7.078 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.0008012/0.0008012, allocations: 25.67 kB / 384.1 MB, free: 47.48 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.54/2.54, allocations: 353.9 MB / 0.7787 GB, free: 1.609 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") [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.003811/0.003811, allocations: 126.7 kB / 1.06 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2945, allocations: 134.9 MB / 1.192 GB, free: 5.723 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0021/0.2966, allocations: 0.6584 MB / 1.193 GB, free: 5.066 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2978, allocations: 0.8436 MB / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.2978, allocations: 0 / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.2978, allocations: 3.938 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.2979, allocations: 3.938 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2981, allocations: 11.98 kB / 1.194 GB, free: 4.191 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.2982, allocations: 23.92 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.2983, allocations: 8 kB / 1.194 GB, free: 4.16 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.2983, allocations: 11.92 kB / 1.194 GB, free: 4.148 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.2984, allocations: 8 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2984, allocations: 4 kB / 1.194 GB, free: 4.137 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.2984, allocations: 4 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2985, allocations: 15.91 kB / 1.194 GB, free: 4.117 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2985, allocations: 4 kB / 1.194 GB, free: 4.113 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2986, allocations: 31.84 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2986, allocations: 0 / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2986, allocations: 0 / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2986, allocations: 0 / 1.194 GB, free: 4.082 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004572/0.299, allocations: 254.4 kB / 1.194 GB, free: 3.801 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2991, allocations: 19.98 kB / 1.194 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.2992, allocations: 4.891 kB / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2993, allocations: 110.5 kB / 1.194 GB, free: 3.645 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2993, allocations: 4.312 kB / 1.194 GB, free: 3.641 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.2993, allocations: 384 / 1.194 GB, free: 3.641 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.2995, allocations: 50.23 kB / 1.194 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2995, allocations: 192 / 1.194 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2995, allocations: 3.938 kB / 1.194 GB, free: 3.582 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2995, allocations: 4 kB / 1.194 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2997, allocations: 31.97 kB / 1.194 GB, free: 3.547 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.3, allocations: 196.6 kB / 1.194 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3002, allocations: 38.5 kB / 1.194 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.3003, allocations: 20.91 kB / 1.195 GB, free: 3.254 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3003, allocations: 7.875 kB / 1.195 GB, free: 3.246 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3003, allocations: 30.56 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3003, allocations: 3.938 kB / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.3007, allocations: 89.59 kB / 1.195 GB, free: 3.109 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3008, allocations: 55.34 kB / 1.195 GB, free: 3.043 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3009, allocations: 105.8 kB / 1.195 GB, free: 2.93 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3009, allocations: 25.7 kB / 1.195 GB, free: 2.898 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.301, allocations: 82.03 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.301, allocations: 7.953 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.301, allocations: 13.72 kB / 1.195 GB, free: 2.789 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3013, allocations: 314.8 kB / 1.195 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.3014, allocations: 24.11 kB / 1.195 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.3014, allocations: 11.98 kB / 1.195 GB, free: 2.438 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3016, allocations: 40.81 kB / 1.195 GB, free: 2.395 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3016, allocations: 0 / 1.195 GB, free: 2.395 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002214/0.3018, allocations: 73.61 kB / 1.195 GB, free: 2.316 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3019, allocations: 8 kB / 1.195 GB, free: 2.309 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3019, allocations: 4 kB / 1.195 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3019, allocations: 3.984 kB / 1.195 GB, free: 2.301 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.302, allocations: 4 kB / 1.195 GB, free: 2.297 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.302, allocations: 4 kB / 1.195 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.302, allocations: 3.984 kB / 1.195 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.302, allocations: 4 kB / 1.195 GB, free: 2.285 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 (2): * Single equations (assignments): 2 * 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 9.776e-05/0.3021, allocations: 105.8 kB / 1.195 GB, free: 2.172 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.3022, allocations: 11.97 kB / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3024, allocations: 68.97 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3024, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3024, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3024, allocations: 3.984 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3026, allocations: 105.3 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3026, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.3026, allocations: 15.92 kB / 1.196 GB, free: 1.934 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3027, allocations: 4.125 kB / 1.196 GB, free: 1.93 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.3027, allocations: 4.031 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3027, allocations: 0 / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.3027, allocations: 3.984 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3029, allocations: 167.5 kB / 1.196 GB, free: 1.742 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.3029, allocations: 3.938 kB / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.303, allocations: 7.938 kB / 1.196 GB, free: 1.73 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.303, allocations: 7.984 kB / 1.196 GB, free: 1.723 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3031, allocations: 0 / 1.196 GB, free: 1.723 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3031, allocations: 8.031 kB / 1.196 GB, free: 1.715 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.3031, allocations: 83.2 kB / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.3031, allocations: 4 kB / 1.196 GB, free: 1.629 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002176/0.3034, allocations: 0 / 1.196 GB, free: 1.629 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 (2): * Single equations (assignments): 2 * 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.0001365/0.3035, allocations: 103.2 kB / 1.196 GB, free: 1.516 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3037, allocations: 35.95 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3037, allocations: 0 / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.3038, allocations: 20.05 kB / 1.196 GB, free: 1.461 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3041, allocations: 1.406 kB / 1.196 GB, free: 1.461 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3044, allocations: 118.1 kB / 1.196 GB, free: 1.32 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.3045, allocations: 63.34 kB / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.3045, allocations: 0 / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3046, allocations: 11.38 kB / 1.196 GB, free: 1.227 MB / 0.8263 GB Notification: Performance of SimCode: time 3.41e-07/0.3046, allocations: 0 / 1.196 GB, free: 1.227 MB / 0.8263 GB Notification: Performance of Templates: time 0.003279/0.3078, allocations: 458.6 kB / 1.197 GB, free: 0.7812 MB / 0.8263 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.743881817907095] Failed to read output from testmodel.py, exit status != 0: 0.3172202743589878 0.333405159 0.031603046 Calling exit ...