Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.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.0009115/0.0009115, allocations: 100.4 kB / 19.7 MB, free: 452 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.001293/0.001293, allocations: 212.6 kB / 23 MB, free: 2.98 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 1.048/1.048, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.04248/0.04248, allocations: 12.19 MB / 325.4 MB, free: 6.098 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.000563/0.000563, allocations: 23.95 kB / 384.8 MB, free: 10.52 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.817/1.817, allocations: 353.9 MB / 0.7794 GB, free: 4.562 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") [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.001689/0.001689, allocations: 124.6 kB / 1.061 GB, free: 24.43 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2839, allocations: 134.9 MB / 1.193 GB, free: 6.957 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Max): time 0.001601/0.2855, allocations: 0.6768 MB / 1.194 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2866, allocations: 0.8281 MB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.2867, allocations: 7.938 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.2867, allocations: 0 / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.2868, allocations: 7.875 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.2869, allocations: 11.98 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.287, allocations: 47.84 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2871, allocations: 15.98 kB / 1.195 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.2871, allocations: 15.92 kB / 1.195 GB, free: 5.336 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.2872, allocations: 19.92 kB / 1.195 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2872, allocations: 0 / 1.195 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.2872, allocations: 4 kB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2872, allocations: 12 kB / 1.195 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2873, allocations: 15.92 kB / 1.195 GB, free: 5.285 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.2874, allocations: 47.73 kB / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2874, allocations: 0 / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2874, allocations: 0 / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2874, allocations: 0 / 1.195 GB, free: 5.238 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.2878, allocations: 286.2 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2878, allocations: 12.02 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.2879, allocations: 8.891 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.2879, allocations: 118.5 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.288, allocations: 384 / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.288, allocations: 384 / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2881, allocations: 70.22 kB / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2882, allocations: 4.188 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2882, allocations: 3.938 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2882, allocations: 0 / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2883, allocations: 63.92 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.2886, allocations: 208.5 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2888, allocations: 58.53 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.2888, allocations: 40.86 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2889, allocations: 7.984 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2889, allocations: 38.5 kB / 1.196 GB, free: 4.223 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2889, allocations: 0 / 1.196 GB, free: 4.223 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003294/0.2892, allocations: 129.5 kB / 1.196 GB, free: 4.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2892, allocations: 51.41 kB / 1.196 GB, free: 4.027 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.2893, allocations: 109.8 kB / 1.196 GB, free: 3.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2893, allocations: 25.7 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.2894, allocations: 92.08 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2894, allocations: 7.953 kB / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.2894, allocations: 17.72 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.2895, allocations: 314.8 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.2896, allocations: 31.97 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.2896, allocations: 31.97 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.2898, allocations: 64.78 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2898, allocations: 7.938 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001673/0.2899, allocations: 101.6 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.29, allocations: 11.92 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.29, allocations: 0 / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.29, allocations: 0 / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.2901, allocations: 19.98 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2901, allocations: 0 / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.2901, allocations: 15.94 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2901, allocations: 0 / 1.196 GB, free: 3.148 MB / 0.823 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.882e-05/0.2902, allocations: 109.8 kB / 1.197 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.2902, allocations: 7.938 kB / 1.197 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.2904, allocations: 113.9 kB / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2904, allocations: 48 / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2904, allocations: 3.984 kB / 1.197 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2904, allocations: 0 / 1.197 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.2905, allocations: 117.2 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2905, allocations: 4 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.2906, allocations: 23.92 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2906, allocations: 0 / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2906, allocations: 0 / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2906, allocations: 0 / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2906, allocations: 0 / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2908, allocations: 203.4 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.2908, allocations: 3.938 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2908, allocations: 4 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.2909, allocations: 11.98 kB / 1.197 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2909, allocations: 3.984 kB / 1.197 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2909, allocations: 4 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.2909, allocations: 83.28 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2909, allocations: 3.938 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001412/0.2911, allocations: 8 kB / 1.197 GB, free: 2.387 MB / 0.823 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 0.0001117/0.2912, allocations: 99.23 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2914, allocations: 67.92 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2914, allocations: 0 / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.2915, allocations: 35.91 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2917, allocations: 19.98 kB / 1.197 GB, free: 2.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.2921, allocations: 151.1 kB / 1.198 GB, free: 1.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.2921, allocations: 67.28 kB / 1.198 GB, free: 1.895 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.2921, allocations: 11.44 kB / 1.198 GB, free: 1.883 MB / 0.823 GB Notification: Performance of SimCode: time 5.62e-07/0.2921, allocations: 0 / 1.198 GB, free: 1.883 MB / 0.823 GB Notification: Performance of Templates: time 0.001709/0.2938, allocations: 0.7547 MB / 1.198 GB, free: 1.137 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.878437214531004] Failed to read output from testmodel.py, exit status != 0: 0.3008564980700612 0.314090101 0.024233368 Calling exit ...