Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001473/0.001473, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001768/0.001768, allocations: 217.8 kB / 22.26 MB, free: 5.117 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.211 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.06509/0.06509, allocations: 12.19 MB / 324.6 MB, free: 7.289 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.000774/0.000774, allocations: 37.14 kB / 384.1 MB, free: 46.59 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.545/2.545, allocations: 353.8 MB / 0.7787 GB, free: 1.016 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor") [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.003812/0.003812, allocations: 115.7 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2957, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003202/0.2989, allocations: 1.34 MB / 1.194 GB, free: 4.855 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.3017, allocations: 1.607 MB / 1.195 GB, free: 3.234 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.3019, allocations: 4 kB / 1.195 GB, free: 3.23 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3021, allocations: 31.55 kB / 1.195 GB, free: 3.199 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.3024, allocations: 87.36 kB / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3038, allocations: 0.4898 MB / 1.196 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.3048, allocations: 0.6521 MB / 1.196 GB, free: 1.984 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3052, allocations: 117.3 kB / 1.196 GB, free: 1.867 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.3057, allocations: 263.3 kB / 1.197 GB, free: 1.609 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.3061, allocations: 243.2 kB / 1.197 GB, free: 1.371 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.3064, allocations: 64 kB / 1.197 GB, free: 1.309 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3066, allocations: 83.98 kB / 1.197 GB, free: 1.227 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3067, allocations: 79.7 kB / 1.197 GB, free: 1.148 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.307, allocations: 247 kB / 1.197 GB, free: 0.9062 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.3078, allocations: 0.6889 MB / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3078, allocations: 0 / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3078, allocations: 0 / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3078, allocations: 0 / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001436/0.3093, allocations: 0.8828 MB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3093, allocations: 11.98 kB / 1.199 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3094, allocations: 48.7 kB / 1.199 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3107, allocations: 409.4 kB / 1.199 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3108, allocations: 28.88 kB / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.3109, allocations: 40.38 kB / 1.199 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.3115, allocations: 320.5 kB / 1.2 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3115, allocations: 3.938 kB / 1.2 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.3116, allocations: 8 kB / 1.2 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3116, allocations: 8 kB / 1.2 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.3122, allocations: 257.8 kB / 1.2 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.314, allocations: 0.872 MB / 1.201 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.3147, allocations: 359.5 kB / 1.201 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3152, allocations: 256.9 kB / 1.201 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3152, allocations: 4 kB / 1.201 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.3159, allocations: 323 kB / 1.202 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.3159, allocations: 0 / 1.202 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001674/0.3175, allocations: 0.8345 MB / 1.203 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.3177, allocations: 195.9 kB / 1.203 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.318, allocations: 288.5 kB / 1.203 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.3181, allocations: 45.7 kB / 1.203 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3183, allocations: 172.8 kB / 1.203 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3184, allocations: 138.9 kB / 1.203 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.3187, allocations: 134.1 kB / 1.204 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3188, allocations: 346.8 kB / 1.204 GB, free: 10 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.3195, allocations: 272.7 kB / 1.204 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/0.3202, allocations: 365.5 kB / 1.204 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.3216, allocations: 0.9051 MB / 1.205 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3216, allocations: 3.938 kB / 1.205 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001798/0.3234, allocations: 1.002 MB / 1.206 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.3236, allocations: 261.3 kB / 1.207 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3237, allocations: 7.984 kB / 1.207 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.3237, allocations: 4 kB / 1.207 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.324, allocations: 67.89 kB / 1.207 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.324, allocations: 4 kB / 1.207 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.3247, allocations: 147.7 kB / 1.207 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.3249, allocations: 75.86 kB / 1.207 GB, free: 6.648 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003717/0.3252, allocations: 315 kB / 1.207 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.3253, allocations: 43.75 kB / 1.207 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3254, allocations: 35.48 kB / 1.207 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3254, allocations: 8 kB / 1.207 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3254, allocations: 0 / 1.207 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3254, allocations: 0 / 1.207 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.3275, allocations: 1.162 MB / 1.208 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3275, allocations: 7.938 kB / 1.208 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3277, allocations: 63.89 kB / 1.208 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3277, allocations: 0 / 1.208 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.3277, allocations: 12 kB / 1.208 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3277, allocations: 0 / 1.208 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3277, allocations: 3.938 kB / 1.208 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.329, allocations: 0.7709 MB / 1.209 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.329, allocations: 47.59 kB / 1.209 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.3291, allocations: 11.98 kB / 1.209 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.3293, allocations: 23.97 kB / 1.209 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3294, allocations: 39.88 kB / 1.209 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/0.3295, allocations: 51.94 kB / 1.209 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002205/0.3297, allocations: 199 kB / 1.21 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3297, allocations: 0 / 1.21 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004256/0.3301, allocations: 104 kB / 1.21 GB, free: 3.594 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: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002027/0.3304, allocations: 123 kB / 1.21 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.332, allocations: 1.039 MB / 1.211 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.332, allocations: 0 / 1.211 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.3326, allocations: 0.4895 MB / 1.211 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.3332, allocations: 99.91 kB / 1.211 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3346, allocations: 0.8091 MB / 1.212 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.3351, allocations: 0.7962 MB / 1.213 GB, free: 12 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.3354, allocations: 95.25 kB / 1.213 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.3355, allocations: 35.38 kB / 1.213 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.3355, allocations: 0 / 1.213 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.01397/0.3495, allocations: 6.806 MB / 1.22 GB, free: 9.168 MB / 0.8575 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.458308458328247] Failed to read output from testmodel.py, exit status != 0: 0.3583644740283489 0.37352429800000003 0.062445806000000006 Calling exit ...