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.001758/0.001758, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002569/0.002569, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.031 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.06737/0.06737, allocations: 12.19 MB / 324.6 MB, free: 7.27 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.0007343/0.0007343, allocations: 34.53 kB / 384.1 MB, free: 46.67 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.668/2.668, allocations: 353.8 MB / 0.7787 GB, free: 1.109 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.003616/0.003616, allocations: 124.4 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2733, allocations: 134.9 MB / 1.192 GB, free: 6.18 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00189/0.2752, allocations: 0.6478 MB / 1.193 GB, free: 5.531 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2764, allocations: 0.867 MB / 1.194 GB, free: 4.652 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.2764, allocations: 0 / 1.194 GB, free: 4.652 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.2764, allocations: 3.938 kB / 1.194 GB, free: 4.648 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.2765, allocations: 7.984 kB / 1.194 GB, free: 4.641 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.2767, allocations: 11.92 kB / 1.194 GB, free: 4.629 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.2768, allocations: 27.92 kB / 1.194 GB, free: 4.602 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.2769, allocations: 0 / 1.194 GB, free: 4.602 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.2769, allocations: 15.88 kB / 1.194 GB, free: 4.586 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.277, allocations: 11.98 kB / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.277, allocations: 0 / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-05/0.277, allocations: 12 kB / 1.194 GB, free: 4.562 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.277, allocations: 0 / 1.194 GB, free: 4.562 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.2771, allocations: 15.91 kB / 1.194 GB, free: 4.547 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 9.836e-05/0.2771, allocations: 27.84 kB / 1.194 GB, free: 4.52 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2772, allocations: 4 kB / 1.194 GB, free: 4.516 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2772, allocations: 0 / 1.194 GB, free: 4.516 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2772, allocations: 0 / 1.194 GB, free: 4.516 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.0004389/0.2776, allocations: 254.4 kB / 1.194 GB, free: 4.234 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2777, allocations: 11.98 kB / 1.194 GB, free: 4.223 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.2777, allocations: 16.89 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2778, allocations: 102.5 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2778, allocations: 4.375 kB / 1.194 GB, free: 4.078 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2779, allocations: 8.312 kB / 1.194 GB, free: 4.07 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.278, allocations: 50.23 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.278, allocations: 192 / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.278, allocations: 3.938 kB / 1.194 GB, free: 4.012 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.278, allocations: 0 / 1.194 GB, free: 4.012 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.2782, allocations: 39.95 kB / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.2785, allocations: 216 kB / 1.195 GB, free: 3.719 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2787, allocations: 46.42 kB / 1.195 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.2788, allocations: 24.84 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2788, allocations: 4 kB / 1.195 GB, free: 3.633 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2788, allocations: 30.56 kB / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2788, allocations: 0 / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.2791, allocations: 81.59 kB / 1.195 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2792, allocations: 51.41 kB / 1.195 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2793, allocations: 105.9 kB / 1.195 GB, free: 3.332 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2793, allocations: 33.69 kB / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2793, allocations: 84.14 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2794, allocations: 3.953 kB / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.2794, allocations: 13.72 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2795, allocations: 314.8 kB / 1.195 GB, free: 2.867 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.2796, allocations: 11.98 kB / 1.195 GB, free: 2.855 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2797, allocations: 23.97 kB / 1.195 GB, free: 2.832 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2798, allocations: 36.83 kB / 1.195 GB, free: 2.793 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2798, allocations: 0 / 1.195 GB, free: 2.793 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.28, allocations: 69.59 kB / 1.195 GB, free: 2.719 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.28, allocations: 4 kB / 1.195 GB, free: 2.715 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.28, allocations: 4 kB / 1.195 GB, free: 2.711 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2801, allocations: 11.97 kB / 1.196 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.2801, allocations: 7.984 kB / 1.196 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2802, allocations: 0 / 1.196 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.2802, allocations: 4 kB / 1.196 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.2802, allocations: 192 / 1.196 GB, free: 2.688 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.553e-05/0.2803, allocations: 117.8 kB / 1.196 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.2803, allocations: 0 / 1.196 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2805, allocations: 80.95 kB / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2805, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2805, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2806, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2807, allocations: 132.7 kB / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2807, allocations: 0 / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.2808, allocations: 15.92 kB / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2808, allocations: 0 / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2808, allocations: 0 / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2808, allocations: 4.031 kB / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2808, allocations: 3.938 kB / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2811, allocations: 167.4 kB / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.2811, allocations: 0 / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2811, allocations: 11.98 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.2812, allocations: 4 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.2812, allocations: 8.016 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2812, allocations: 0 / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.2813, allocations: 83.28 kB / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2813, allocations: 0 / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002136/0.2815, allocations: 4 kB / 1.196 GB, free: 1.992 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.0001236/0.2816, allocations: 91.25 kB / 1.196 GB, free: 1.891 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2818, allocations: 43.89 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2818, allocations: 0 / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.2819, allocations: 19.98 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2822, allocations: 9.031 kB / 1.196 GB, free: 1.82 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.2825, allocations: 110.8 kB / 1.196 GB, free: 1.691 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2828, allocations: 0.6769 MB / 1.197 GB, free: 0.9883 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 1.909e-05/0.2828, allocations: 8 kB / 1.197 GB, free: 0.9805 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2828, allocations: 7.438 kB / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of SimCode: time 3.2e-07/0.2828, allocations: 0 / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of Templates: time 0.002704/0.2855, allocations: 456 kB / 1.197 GB, free: 0.5312 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.270062766969204] Failed to read output from testmodel.py, exit status != 0: 0.29419783502817154 0.30866288199999997 0.028431667 Calling exit ...