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/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.0413/0.0413, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008752/0.0008752, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 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.000978/0.000978, allocations: 165.1 kB / 38.73 MB, free: 2.492 MB / 24.77 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.9634/0.9634, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004562/0.004562, allocations: 0.8217 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.79/1.79, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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: Performance of FrontEnd - loaded program: time 3.908e-06/3.908e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.786e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003138/0.003176, allocations: 1.073 MB / 0.639 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.005117, allocations: 1.073 MB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.005277, allocations: 0 / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.005445, allocations: 23.73 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.427e-05/0.005529, allocations: 15.81 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.005893, allocations: 75.78 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.006143, allocations: 184 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.006324, allocations: 53.83 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.006518, allocations: 107.7 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.006625, allocations: 55.84 kB / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.006665, allocations: 16 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.006752, allocations: 23.98 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.006802, allocations: 39.83 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.00686, allocations: 55.83 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.007137, allocations: 135.5 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.007142, allocations: 0 / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.473e-06/0.007144, allocations: 0 / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.007151, allocations: 0 / 0.6408 GB, free: 11.08 MB / 0.6043 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.000676/0.007827, allocations: 376 kB / 0.6412 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.007873, allocations: 11.98 kB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.008036, allocations: 32.84 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.008274, allocations: 150.1 kB / 0.6414 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.0083, allocations: 20.31 kB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.008336, allocations: 16.38 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.008603, allocations: 152.4 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.008614, allocations: 192 / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.008633, allocations: 8.125 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.008642, allocations: 7.938 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.00872, allocations: 31.98 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.009495, allocations: 323.6 kB / 0.6419 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.009742, allocations: 74.53 kB / 0.642 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.009807, allocations: 40.83 kB / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.009835, allocations: 7.984 kB / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.01, allocations: 113 kB / 0.6421 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=19): time 3.286e-06/0.01001, allocations: 0 / 0.6421 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19): time 0.0002648/0.01027, allocations: 113.2 kB / 0.6422 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.01031, allocations: 55.34 kB / 0.6423 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01043, allocations: 146.6 kB / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.01047, allocations: 37.7 kB / 0.6424 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.01054, allocations: 116.4 kB / 0.6426 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.01061, allocations: 71.41 kB / 0.6426 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.01068, allocations: 37.69 kB / 0.6427 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0003173/0.011, allocations: 326.8 kB / 0.643 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.0111, allocations: 23.98 kB / 0.643 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.01117, allocations: 45.62 kB / 0.643 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.0113, allocations: 69.56 kB / 0.6431 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.0113, allocations: 7.938 kB / 0.6431 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001947/0.0115, allocations: 110.3 kB / 0.6432 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.01152, allocations: 4 kB / 0.6432 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.01153, allocations: 3.984 kB / 0.6432 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.01156, allocations: 3.938 kB / 0.6432 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.01175, allocations: 39.98 kB / 0.6433 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01176, allocations: 3.938 kB / 0.6433 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.01184, allocations: 23.88 kB / 0.6433 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.01186, allocations: 4 kB / 0.6433 GB, free: 8.344 MB / 0.6043 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 0.0001239/0.01198, allocations: 117.9 kB / 0.6434 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.01201, allocations: 19.92 kB / 0.6434 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.01226, allocations: 106.7 kB / 0.6435 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.01227, allocations: 7.938 kB / 0.6435 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01227, allocations: 0 / 0.6435 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.01228, allocations: 3.984 kB / 0.6435 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.01299, allocations: 371.6 kB / 0.6439 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.013, allocations: 3.984 kB / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.01317, allocations: 39.97 kB / 0.6439 GB, free: 7.629 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.01318, allocations: 4 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.0132, allocations: 0 / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.0132, allocations: 7.938 kB / 0.644 GB, free: 7.617 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.01321, allocations: 4 kB / 0.644 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.01353, allocations: 268.4 kB / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.01356, allocations: 19.83 kB / 0.6442 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01359, allocations: 12.06 kB / 0.6442 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01371, allocations: 12 kB / 0.6443 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.01378, allocations: 23.95 kB / 0.6443 GB, free: 7.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.01379, allocations: 4 kB / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.01383, allocations: 32.91 kB / 0.6443 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01383, allocations: 0 / 0.6443 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003025/0.01414, allocations: 35.95 kB / 0.6443 GB, free: 7.176 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.000175/0.01431, allocations: 92.28 kB / 0.6444 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01453, allocations: 88.75 kB / 0.6445 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.01453, allocations: 0 / 0.6445 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.01462, allocations: 48.72 kB / 0.6446 GB, free: 6.938 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.01494, allocations: 23.98 kB / 0.6446 GB, free: 6.914 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.01591, allocations: 366.2 kB / 0.6449 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.632e-05/0.01598, allocations: 76.36 kB / 0.645 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.01607, allocations: 13.48 kB / 0.645 GB, free: 6.398 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.0162, allocations: 75.38 kB / 0.6451 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of SimCode: time 1.803e-06/0.0162, allocations: 0 / 0.6451 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of Templates: time 0.00554/0.02174, allocations: 1.855 MB / 0.6469 GB, free: 4.48 MB / 0.6043 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.443905870895833]