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.001147/0.001147, 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.00086/0.00086, allocations: 211.2 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 0.9523/0.9523, 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.04165/0.04165, allocations: 12.19 MB / 325.4 MB, free: 6.09 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.0004884/0.0004884, allocations: 31.89 kB / 384.8 MB, free: 10.51 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.818/1.818, allocations: 353.8 MB / 0.7795 GB, free: 4.578 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.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.001531/0.001531, allocations: 120 kB / 1.061 GB, free: 24.45 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2763, allocations: 134.9 MB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002291/0.2785, allocations: 1.237 MB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2802, allocations: 1.588 MB / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.2804, allocations: 4 kB / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2805, allocations: 39.53 kB / 1.196 GB, free: 4.172 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2806, allocations: 75.38 kB / 1.196 GB, free: 4.098 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.2815, allocations: 0.4912 MB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.282, allocations: 0.656 MB / 1.197 GB, free: 2.961 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.2823, allocations: 109.3 kB / 1.197 GB, free: 2.852 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.2825, allocations: 255.4 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2827, allocations: 215.2 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.2828, allocations: 64 kB / 1.198 GB, free: 2.328 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2829, allocations: 79.98 kB / 1.198 GB, free: 2.25 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.283, allocations: 79.7 kB / 1.198 GB, free: 2.172 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2832, allocations: 223.1 kB / 1.198 GB, free: 1.953 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.2837, allocations: 0.6812 MB / 1.199 GB, free: 1.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.2837, allocations: 7.938 kB / 1.199 GB, free: 1.262 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2837, allocations: 4 kB / 1.199 GB, free: 1.258 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2837, allocations: 0 / 1.199 GB, free: 1.258 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001166/0.2849, allocations: 0.875 MB / 1.199 GB, free: 300 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2849, allocations: 8.031 kB / 1.199 GB, free: 292 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.285, allocations: 48.7 kB / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.2858, allocations: 409.6 kB / 1.2 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2858, allocations: 24.88 kB / 1.2 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2859, allocations: 40.38 kB / 1.2 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.2864, allocations: 461 kB / 1.2 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2864, allocations: 3.938 kB / 1.2 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2864, allocations: 12 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2864, allocations: 4 kB / 1.2 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2868, allocations: 390.2 kB / 1.201 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2879, allocations: 0.7283 MB / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.2884, allocations: 494.7 kB / 1.202 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2887, allocations: 386.8 kB / 1.202 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2887, allocations: 7.938 kB / 1.202 GB, free: 13.13 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.2892, allocations: 459.5 kB / 1.203 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=44): time 4.028e-06/0.2892, allocations: 0 / 1.203 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of matching and sorting (n=44): time 0.001083/0.2903, allocations: 1.104 MB / 1.204 GB, free: 11.44 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.2903, allocations: 195.8 kB / 1.204 GB, free: 11.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2905, allocations: 280.5 kB / 1.204 GB, free: 10.92 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.2906, allocations: 45.7 kB / 1.204 GB, free: 10.87 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2907, allocations: 165 kB / 1.204 GB, free: 10.7 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.2908, allocations: 138.8 kB / 1.205 GB, free: 10.57 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2909, allocations: 134.1 kB / 1.205 GB, free: 10.43 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.291, allocations: 342.8 kB / 1.205 GB, free: 10.09 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.2915, allocations: 0.5313 MB / 1.206 GB, free: 9.5 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.2922, allocations: 0.6101 MB / 1.206 GB, free: 8.797 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.2929, allocations: 0.9129 MB / 1.207 GB, free: 7.77 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2929, allocations: 0 / 1.207 GB, free: 7.77 MB / 0.8387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00107/0.294, allocations: 1.263 MB / 1.208 GB, free: 6.391 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.2941, allocations: 255.3 kB / 1.209 GB, free: 6.086 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2941, allocations: 4 kB / 1.209 GB, free: 6.082 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2941, allocations: 7.984 kB / 1.209 GB, free: 6.074 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2943, allocations: 76.11 kB / 1.209 GB, free: 6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2943, allocations: 4 kB / 1.209 GB, free: 5.996 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.2946, allocations: 143.6 kB / 1.209 GB, free: 5.855 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.2947, allocations: 71.86 kB / 1.209 GB, free: 5.785 MB / 0.8387 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.0001954/0.2949, allocations: 310.2 kB / 1.209 GB, free: 5.441 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2949, allocations: 51.62 kB / 1.209 GB, free: 5.391 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.295, allocations: 39.42 kB / 1.209 GB, free: 5.344 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.295, allocations: 4 kB / 1.209 GB, free: 5.34 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.295, allocations: 12 kB / 1.209 GB, free: 5.328 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.295, allocations: 0 / 1.209 GB, free: 5.328 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2961, allocations: 1.214 MB / 1.21 GB, free: 4.016 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2961, allocations: 0 / 1.21 GB, free: 4.016 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2963, allocations: 67.89 kB / 1.21 GB, free: 3.949 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2963, allocations: 0 / 1.21 GB, free: 3.949 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2963, allocations: 15.98 kB / 1.21 GB, free: 3.934 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2963, allocations: 0 / 1.21 GB, free: 3.934 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2963, allocations: 0 / 1.21 GB, free: 3.934 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.297, allocations: 0.9014 MB / 1.211 GB, free: 2.957 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.297, allocations: 39.64 kB / 1.211 GB, free: 2.918 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.297, allocations: 12 kB / 1.211 GB, free: 2.906 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2972, allocations: 27.97 kB / 1.211 GB, free: 2.879 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.2972, allocations: 35.94 kB / 1.211 GB, free: 2.844 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.2973, allocations: 47.94 kB / 1.212 GB, free: 2.797 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001236/0.2974, allocations: 199 kB / 1.212 GB, free: 2.602 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2974, allocations: 0 / 1.212 GB, free: 2.602 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002737/0.2977, allocations: 111.9 kB / 1.212 GB, free: 2.492 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: 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.0001603/0.2978, allocations: 111.2 kB / 1.212 GB, free: 2.375 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.2992, allocations: 1.437 MB / 1.213 GB, free: 0.7422 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2992, allocations: 0 / 1.213 GB, free: 0.7422 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.2996, allocations: 0.6223 MB / 1.214 GB, free: 28 kB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3, allocations: 93.03 kB / 1.214 GB, free: 15.93 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.301, allocations: 0.9725 MB / 1.215 GB, free: 14.9 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3011, allocations: 200.1 kB / 1.215 GB, free: 14.68 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.3012, allocations: 35.44 kB / 1.215 GB, free: 14.65 MB / 0.8543 GB Notification: Performance of SimCode: time 7.72e-07/0.3012, allocations: 0 / 1.215 GB, free: 14.65 MB / 0.8543 GB Notification: Performance of Templates: time 0.006222/0.3074, allocations: 5.701 MB / 1.221 GB, free: 8.988 MB / 0.8543 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.433363573625684] Failed to read output from testmodel.py, exit status != 0: 0.3139910725876689 0.323751163 0.037729691 Calling exit ...