Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.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.000763/0.000763, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0008397/0.0008397, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.9522/0.9522, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03442/0.03442, allocations: 9.114 MB / 269.2 MB, free: 4.441 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.0004182/0.0004182, allocations: 19.97 kB / 328.7 MB, free: 5.781 MB / 298.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.521/1.521, allocations: 275 MB / 0.6476 GB, free: 2.797 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.611e-05, allocations: 8.406 kB / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001009/0.001025, allocations: 0.6725 MB / 0.9302 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0005951/0.00162, allocations: 0.833 MB / 0.931 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.001654, allocations: 0 / 0.931 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.001678, allocations: 5.969 kB / 0.931 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.001742, allocations: 10.02 kB / 0.931 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 5.481e-05/0.001797, allocations: 13.2 kB / 0.931 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.001863, allocations: 43 kB / 0.9311 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.001951, allocations: 13.7 kB / 0.9311 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.002019, allocations: 20.78 kB / 0.9311 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.002053, allocations: 18.06 kB / 0.9311 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.00207, allocations: 7.875 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-06/0.002077, allocations: 3.969 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.002091, allocations: 5.969 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.002112, allocations: 9.969 kB / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.002189, allocations: 46 kB / 0.9312 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002192, allocations: 1.156 kB / 0.9312 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002193, allocations: 0 / 0.9312 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.002196, allocations: 0 / 0.9312 GB, free: 19.7 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003137/0.002509, allocations: 284.1 kB / 0.9315 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.002546, allocations: 17.2 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.002569, allocations: 7.812 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.928e-05/0.002628, allocations: 117.6 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002639, allocations: 1.75 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.002651, allocations: 2.766 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.002806, allocations: 72.12 kB / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.002813, allocations: 1.375 kB / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.002822, allocations: 384 / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.002827, allocations: 9.422 kB / 0.9317 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.002973, allocations: 69.47 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.003191, allocations: 208.2 kB / 0.932 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.003298, allocations: 53.5 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.003379, allocations: 43.97 kB / 0.9321 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.00339, allocations: 0.75 kB / 0.9321 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.003403, allocations: 37.16 kB / 0.9321 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.003404, allocations: 0 / 0.9321 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0002932/0.003697, allocations: 135.8 kB / 0.9322 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.146e-05/0.003708, allocations: 52.3 kB / 0.9323 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.003755, allocations: 119.5 kB / 0.9324 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.003761, allocations: 25.7 kB / 0.9324 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/0.003781, allocations: 84.05 kB / 0.9325 GB, free: 18.56 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.003797, allocations: 13.69 kB / 0.9325 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.003818, allocations: 13.91 kB / 0.9325 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.56e-05/0.003843, allocations: 317 kB / 0.9328 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.003914, allocations: 31.78 kB / 0.9328 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.00398, allocations: 34.77 kB / 0.9329 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.004114, allocations: 66.59 kB / 0.9329 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004116, allocations: 0 / 0.9329 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001602/0.004276, allocations: 102.8 kB / 0.933 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004288, allocations: 9.094 kB / 0.933 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004292, allocations: 3.938 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.004304, allocations: 2.188 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.004379, allocations: 14.28 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.004387, allocations: 1.531 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.004423, allocations: 11 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.004428, allocations: 1.938 kB / 0.9331 GB, free: 18.14 MB / 0.7293 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 (3): * Single equations (assignments): 3 * 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 3.437e-05/0.004463, allocations: 113.2 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.004476, allocations: 5.125 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.004491, allocations: 9.719 kB / 0.9332 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004494, allocations: 2.094 kB / 0.9332 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004495, allocations: 0 / 0.9332 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.0045, allocations: 5.953 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.004509, allocations: 1.031 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.00456, allocations: 15.88 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.0046, allocations: 4.609 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001879/0.004788, allocations: 187.2 kB / 0.9334 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001714/0.004959, allocations: 274.3 kB / 0.9337 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.861e-05/0.005037, allocations: 33.39 kB / 0.9337 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.71e-05/0.005055, allocations: 87.12 kB / 0.9338 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of Backend: time 2.2e-07/0.005055, allocations: 5.156 kB / 0.9338 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.005318, allocations: 117.8 kB / 0.9339 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002627/0.00558, allocations: 0.5718 MB / 0.9345 GB, free: 16.89 MB / 0.7293 GB Notification: Performance of Templates: time 0.002102/0.007683, allocations: 0.9424 MB / 0.9354 GB, free: 16.79 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8906191466376185] Failed to read output from testmodel.py, exit status != 0: 0.01160596963018179 0.018993487 0.015230974000000001 Calling exit ...