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.001148/0.001148, 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.001329/0.001329, 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.054/1.054, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.03998/0.03998, allocations: 12.19 MB / 325.4 MB, free: 6.094 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.0004609/0.0004609, allocations: 23.95 kB / 384.8 MB, free: 10.53 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.708/1.708, allocations: 353.9 MB / 0.7795 GB, free: 4.57 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.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.001618/0.001618, allocations: 124.1 kB / 1.061 GB, free: 24.57 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2977, allocations: 134.9 MB / 1.193 GB, free: 6.988 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00169/0.2994, allocations: 0.6516 MB / 1.194 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.3003, allocations: 0.8591 MB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3003, allocations: 0 / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.3004, allocations: 0 / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.3004, allocations: 7.938 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.3007, allocations: 12 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.3008, allocations: 19.92 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3009, allocations: 7.984 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.301, allocations: 4 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.301, allocations: 15.92 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.301, allocations: 4 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.3011, allocations: 11.98 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.3011, allocations: 4 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.3011, allocations: 7.938 kB / 1.195 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3013, allocations: 31.83 kB / 1.195 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3013, allocations: 0 / 1.195 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.397e-06/0.3013, allocations: 0 / 1.195 GB, free: 5.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3013, allocations: 4 kB / 1.195 GB, free: 5.336 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004178/0.3017, allocations: 254.4 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3017, allocations: 11.97 kB / 1.195 GB, free: 5.047 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3018, allocations: 8.891 kB / 1.195 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.3019, allocations: 110.5 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3019, allocations: 384 / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.302, allocations: 384 / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3021, allocations: 50.23 kB / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3021, allocations: 3.938 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3021, allocations: 0 / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3021, allocations: 0 / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.3022, allocations: 35.95 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3025, allocations: 192.6 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.3026, allocations: 38.56 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.3027, allocations: 24.83 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3027, allocations: 4 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3027, allocations: 34.56 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3027, allocations: 0 / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.3029, allocations: 89.66 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.303, allocations: 51.41 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.303, allocations: 97.86 kB / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.303, allocations: 25.7 kB / 1.196 GB, free: 4.18 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.3031, allocations: 96.02 kB / 1.196 GB, free: 4.082 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3031, allocations: 11.94 kB / 1.196 GB, free: 4.07 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.3031, allocations: 13.72 kB / 1.196 GB, free: 4.051 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.3032, allocations: 314.8 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.3033, allocations: 19.92 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.3033, allocations: 24 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.3034, allocations: 32.83 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3034, allocations: 0 / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.3035, allocations: 77.53 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3035, allocations: 4 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3035, allocations: 4.094 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3035, allocations: 4 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.3036, allocations: 7.984 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3036, allocations: 0 / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.3036, allocations: 4 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3036, allocations: 0 / 1.196 GB, free: 3.551 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 (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 5.541e-05/0.3037, allocations: 109.8 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.3037, allocations: 11.92 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3038, allocations: 80.91 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3038, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3038, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3038, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.663e-05/0.3039, allocations: 105.3 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3039, allocations: 0 / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.304, allocations: 11.94 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.304, allocations: 0 / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.304, allocations: 0 / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.304, allocations: 0 / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.304, allocations: 8.016 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.3041, allocations: 155.5 kB / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.3041, allocations: 15.92 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.3041, allocations: 0 / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.3042, allocations: 4 kB / 1.197 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3042, allocations: 7.922 kB / 1.197 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.3042, allocations: 0 / 1.197 GB, free: 2.988 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.3042, allocations: 79.28 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3042, allocations: 0 / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001377/0.3044, allocations: 8.031 kB / 1.197 GB, free: 2.902 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 (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.0001156/0.3045, allocations: 95.25 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.3046, allocations: 39.95 kB / 1.197 GB, free: 2.758 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3046, allocations: 3.938 kB / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.3046, allocations: 11.98 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3049, allocations: 12.12 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.3051, allocations: 147.7 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.3052, allocations: 59.34 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.3052, allocations: 11.44 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of SimCode: time 8.12e-07/0.3052, allocations: 0 / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of Templates: time 0.001505/0.3067, allocations: 0.5525 MB / 1.198 GB, free: 1.918 MB / 0.823 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: 7.546830428764224] Failed to read output from testmodel.py, exit status != 0: 0.31358496751636267 0.32239856999999994 0.019324269 Calling exit ...