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.0007587/0.0007587, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0008088/0.0008088, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8498/0.8498, allocations: 177.1 MB / 203.7 MB, free: 5.711 MB / 186.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.03403/0.03403, allocations: 9.123 MB / 269.2 MB, free: 4.445 MB / 250.7 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/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.000374/0.000374, allocations: 19.95 kB / 328.7 MB, free: 20.61 MB / 266.7 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/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.495/1.495, allocations: 275 MB / 0.6476 GB, free: 2.52 MB / 0.4949 GB [/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 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9295 GB, free: 8.047 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.699e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.043 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001328/0.001345, allocations: 0.9982 MB / 0.9305 GB, free: 7.062 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.002209, allocations: 1.038 MB / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.0023, allocations: 7.938 kB / 0.9315 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.002413, allocations: 15.8 kB / 0.9315 GB, free: 5.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.002459, allocations: 20.81 kB / 0.9316 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.002688, allocations: 80.72 kB / 0.9316 GB, free: 5.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.002825, allocations: 176.1 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.002944, allocations: 57.44 kB / 0.9319 GB, free: 5.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003044, allocations: 107.8 kB / 0.932 GB, free: 5.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.003111, allocations: 55.8 kB / 0.932 GB, free: 5.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.003135, allocations: 16.69 kB / 0.932 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/0.003176, allocations: 21.97 kB / 0.9321 GB, free: 5.465 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.003207, allocations: 39.89 kB / 0.9321 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.003249, allocations: 51.83 kB / 0.9321 GB, free: 5.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.003424, allocations: 199.3 kB / 0.9323 GB, free: 5.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003426, allocations: 0 / 0.9323 GB, free: 5.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003426, allocations: 0 / 0.9323 GB, free: 5.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.00343, allocations: 0.5 kB / 0.9323 GB, free: 5.18 MB / 0.698 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.0005256/0.003955, allocations: 428.3 kB / 0.9327 GB, free: 4.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.003988, allocations: 11.98 kB / 0.9328 GB, free: 4.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.004058, allocations: 25.89 kB / 0.9328 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.004249, allocations: 162 kB / 0.9329 GB, free: 4.508 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.004262, allocations: 18.84 kB / 0.933 GB, free: 4.492 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.004287, allocations: 16.38 kB / 0.933 GB, free: 4.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.004554, allocations: 175.7 kB / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004562, allocations: 192 / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.004578, allocations: 16.12 kB / 0.9331 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004584, allocations: 5.094 kB / 0.9332 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.00474, allocations: 104.5 kB / 0.9333 GB, free: 4.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.005333, allocations: 435.7 kB / 0.9337 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.005578, allocations: 130.8 kB / 0.9338 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.005676, allocations: 85.19 kB / 0.9339 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.005695, allocations: 5 kB / 0.9339 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.005834, allocations: 144.1 kB / 0.934 GB, free: 3.336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.005835, allocations: 0 / 0.934 GB, free: 3.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0003261/0.006161, allocations: 222.6 kB / 0.9342 GB, free: 3.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.00618, allocations: 55.41 kB / 0.9343 GB, free: 3.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.00626, allocations: 152.8 kB / 0.9344 GB, free: 2.891 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.006276, allocations: 29.7 kB / 0.9345 GB, free: 2.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.006329, allocations: 121.1 kB / 0.9346 GB, free: 2.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.006364, allocations: 63.44 kB / 0.9346 GB, free: 2.672 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.006406, allocations: 43.3 kB / 0.9347 GB, free: 2.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.006475, allocations: 330.8 kB / 0.935 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.006585, allocations: 63.97 kB / 0.935 GB, free: 2.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.006703, allocations: 93.64 kB / 0.9351 GB, free: 2.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.006892, allocations: 148 kB / 0.9353 GB, free: 1.988 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006894, allocations: 0 / 0.9353 GB, free: 1.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002694/0.007163, allocations: 212 kB / 0.9355 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007174, allocations: 4 kB / 0.9355 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.00718, allocations: 4 kB / 0.9355 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.00719, allocations: 0 / 0.9355 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.00729, allocations: 45.31 kB / 0.9355 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.007298, allocations: 4 kB / 0.9355 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.007361, allocations: 24.53 kB / 0.9356 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.007371, allocations: 7.984 kB / 0.9356 GB, free: 1.691 MB / 0.698 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 6.937e-05/0.007441, allocations: 127.1 kB / 0.9357 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.007455, allocations: 15.89 kB / 0.9357 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.007693, allocations: 195.7 kB / 0.9359 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007696, allocations: 0 / 0.9359 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007697, allocations: 0 / 0.9359 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.00771, allocations: 15.84 kB / 0.9359 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.007726, allocations: 8 kB / 0.9359 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.007775, allocations: 19.2 kB / 0.9359 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.007821, allocations: 23.88 kB / 0.936 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000288/0.008109, allocations: 267 kB / 0.9362 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000347/0.008456, allocations: 430.5 kB / 0.9366 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.186e-05/0.008548, allocations: 66.41 kB / 0.9367 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.008594, allocations: 113.2 kB / 0.9368 GB, free: 424 kB / 0.698 GB Notification: Performance of Backend: time 1.8e-07/0.008595, allocations: 0 / 0.9368 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.008955, allocations: 182.2 kB / 0.937 GB, free: 236 kB / 0.698 GB Notification: Performance of SimCode: time 0.000484/0.009439, allocations: 0.7435 MB / 0.9377 GB, free: 15.43 MB / 0.7137 GB Notification: Performance of Templates: time 0.003131/0.01257, allocations: 2.05 MB / 0.9397 GB, free: 13.43 MB / 0.7137 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: 4.684553444385529] Failed to read output from testmodel.py, exit status != 0: 0.01680871471762657 0.024607361 0.019683805000000002 Calling exit ...