Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.0008714/0.0008714, 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.0009279/0.0009279, 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 0.9876/0.9876, 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.03805/0.03805, allocations: 12.19 MB / 325.4 MB, free: 6.082 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.000744/0.000744, allocations: 19.97 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.834/1.834, allocations: 353.9 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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") [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.001571/0.001571, allocations: 118.9 kB / 1.061 GB, free: 24.5 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 134.9 MB / 1.193 GB, free: 6.965 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002332/0.2697, allocations: 0.9919 MB / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2708, allocations: 1.018 MB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2709, allocations: 8 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2711, allocations: 27.67 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.2711, allocations: 23.73 kB / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2714, allocations: 75.84 kB / 1.195 GB, free: 4.809 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2716, allocations: 172.1 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2717, allocations: 64.38 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.2718, allocations: 71.72 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.2719, allocations: 63.67 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2719, allocations: 19.98 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.272, allocations: 28 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.272, allocations: 39.84 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2721, allocations: 63.59 kB / 1.196 GB, free: 4.293 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2723, allocations: 183.2 kB / 1.196 GB, free: 4.113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2723, allocations: 3.938 kB / 1.196 GB, free: 4.109 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2723, allocations: 4 kB / 1.196 GB, free: 4.105 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2723, allocations: 0 / 1.196 GB, free: 4.105 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006536/0.273, allocations: 426.4 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.273, allocations: 12.02 kB / 1.196 GB, free: 3.641 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2731, allocations: 24.78 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.2734, allocations: 172.5 kB / 1.196 GB, free: 3.426 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2734, allocations: 8.375 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.2734, allocations: 16.38 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.2737, allocations: 179.3 kB / 1.197 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2737, allocations: 4 kB / 1.197 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2737, allocations: 4 kB / 1.197 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2737, allocations: 8 kB / 1.197 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2739, allocations: 103.9 kB / 1.197 GB, free: 3.098 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.2745, allocations: 431.9 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2748, allocations: 138.7 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2749, allocations: 72.86 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.275, allocations: 4 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.2751, allocations: 153 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.2751, allocations: 0 / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0003614/0.2755, allocations: 238.9 kB / 1.198 GB, free: 2.016 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2755, allocations: 51.41 kB / 1.198 GB, free: 1.953 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.2756, allocations: 143.3 kB / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2756, allocations: 29.7 kB / 1.198 GB, free: 1.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.2757, allocations: 120.5 kB / 1.198 GB, free: 1.648 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.2758, allocations: 63.44 kB / 1.198 GB, free: 1.586 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.2758, allocations: 45.7 kB / 1.198 GB, free: 1.535 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.2759, allocations: 322.8 kB / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.276, allocations: 63.95 kB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2761, allocations: 96.98 kB / 1.199 GB, free: 1.051 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.2764, allocations: 158.5 kB / 1.199 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2764, allocations: 0 / 1.199 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002885/0.2766, allocations: 210.9 kB / 1.199 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2767, allocations: 12.03 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2767, allocations: 0 / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2767, allocations: 0 / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2768, allocations: 39.97 kB / 1.199 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2768, allocations: 0 / 1.199 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.2769, allocations: 23.88 kB / 1.199 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2769, allocations: 8 kB / 1.199 GB, free: 0.5977 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.414e-05/0.277, allocations: 135.9 kB / 1.199 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.277, allocations: 19.89 kB / 1.199 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.2773, allocations: 183.9 kB / 1.199 GB, free: 260 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2773, allocations: 4 kB / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2773, allocations: 0 / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2773, allocations: 7.922 kB / 1.199 GB, free: 248 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.2778, allocations: 0.5129 MB / 1.2 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2778, allocations: 4 kB / 1.2 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2779, allocations: 31.97 kB / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2779, allocations: 4 kB / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.278, allocations: 11.94 kB / 1.2 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.278, allocations: 4 kB / 1.2 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.278, allocations: 7.938 kB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.2783, allocations: 378.2 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.2784, allocations: 15.89 kB / 1.2 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.2784, allocations: 8 kB / 1.2 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.2785, allocations: 16.03 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.2785, allocations: 27.89 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2785, allocations: 8 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.2786, allocations: 109.5 kB / 1.2 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2786, allocations: 4 kB / 1.2 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001825/0.2788, allocations: 35.89 kB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001232/0.2789, allocations: 111.1 kB / 1.201 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.2792, allocations: 151.9 kB / 1.201 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2792, allocations: 0 / 1.201 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.2796, allocations: 92.02 kB / 1.201 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2799, allocations: 25.55 kB / 1.201 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.2804, allocations: 408.4 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.2805, allocations: 116.4 kB / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2806, allocations: 23.44 kB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of SimCode: time 5.11e-07/0.2806, allocations: 0 / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of Templates: time 0.002758/0.2833, allocations: 1.964 MB / 1.203 GB, free: 12.04 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.800644597969949] Failed to read output from testmodel.py, exit status != 0: 0.2902415478602052 0.29940895100000003 0.025312807000000003 Calling exit ...