Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.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.001033/0.001033, 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.001175/0.001175, 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.8413/0.8413, allocations: 177.2 MB / 203.7 MB, free: 5.715 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.03418/0.03418, allocations: 9.122 MB / 269.2 MB, free: 4.449 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.0003956/0.0003956, allocations: 19.97 kB / 328.7 MB, free: 20.59 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.599/1.599, allocations: 275 MB / 0.6476 GB, free: 2.477 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9295 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.185e-05, allocations: 6.328 kB / 0.9295 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001155/0.001176, allocations: 0.6722 MB / 0.9302 GB, free: 7.379 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000692/0.001868, allocations: 0.8406 MB / 0.931 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.001906, allocations: 0 / 0.931 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.001931, allocations: 4.719 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.001995, allocations: 13.11 kB / 0.931 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.613e-05/0.002051, allocations: 11.98 kB / 0.931 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.00212, allocations: 47.84 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.002209, allocations: 5.094 kB / 0.9311 GB, free: 6.449 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.002281, allocations: 23.92 kB / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.00232, allocations: 19.91 kB / 0.9311 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.002337, allocations: 5.562 kB / 0.9311 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-06/0.002344, allocations: 4 kB / 0.9311 GB, free: 6.398 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.002359, allocations: 7.984 kB / 0.9311 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.002382, allocations: 15.92 kB / 0.9312 GB, free: 6.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.002459, allocations: 36.53 kB / 0.9312 GB, free: 6.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002461, allocations: 0 / 0.9312 GB, free: 6.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002462, allocations: 0.5625 kB / 0.9312 GB, free: 6.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.002465, allocations: 0 / 0.9312 GB, free: 6.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003619/0.002827, allocations: 289 kB / 0.9315 GB, free: 6.027 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.002864, allocations: 15.98 kB / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.002889, allocations: 4.891 kB / 0.9315 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.586e-05/0.002965, allocations: 117.7 kB / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.002976, allocations: 384 / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.002988, allocations: 5.531 kB / 0.9316 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.003144, allocations: 70.2 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.003153, allocations: 8.609 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.003161, allocations: 0.9375 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.003165, allocations: 10.12 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.003311, allocations: 59.88 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.00357, allocations: 219.2 kB / 0.932 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.003685, allocations: 50.55 kB / 0.932 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.00376, allocations: 40.91 kB / 0.9321 GB, free: 5.371 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.003772, allocations: 5.375 kB / 0.9321 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.00379, allocations: 30.56 kB / 0.9321 GB, free: 5.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.00379, allocations: 0 / 0.9321 GB, free: 5.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003082/0.004099, allocations: 132.1 kB / 0.9322 GB, free: 5.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.004121, allocations: 55.41 kB / 0.9323 GB, free: 5.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.162e-05/0.004182, allocations: 110.4 kB / 0.9324 GB, free: 5.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004191, allocations: 29.64 kB / 0.9324 GB, free: 4.977 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.004228, allocations: 92.69 kB / 0.9325 GB, free: 4.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.004245, allocations: 11.45 kB / 0.9325 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.004269, allocations: 13.72 kB / 0.9325 GB, free: 4.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.004341, allocations: 314.8 kB / 0.9328 GB, free: 4.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.004414, allocations: 31.95 kB / 0.9328 GB, free: 4.508 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.004479, allocations: 35.91 kB / 0.9329 GB, free: 4.473 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.004614, allocations: 71.09 kB / 0.9329 GB, free: 4.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004616, allocations: 0 / 0.9329 GB, free: 4.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001621/0.004778, allocations: 99.73 kB / 0.933 GB, free: 4.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.004789, allocations: 4 kB / 0.933 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.004794, allocations: 3.938 kB / 0.933 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.004806, allocations: 0 / 0.933 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.004882, allocations: 23.97 kB / 0.9331 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.004889, allocations: 0 / 0.9331 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.004924, allocations: 7.984 kB / 0.9331 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.004929, allocations: 4 kB / 0.9331 GB, free: 4.258 MB / 0.698 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 4.811e-05/0.004977, allocations: 113.8 kB / 0.9332 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.004992, allocations: 4 kB / 0.9332 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.005011, allocations: 11.92 kB / 0.9332 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005013, allocations: 0 / 0.9332 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005014, allocations: 0 / 0.9332 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.005022, allocations: 19.95 kB / 0.9332 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.00503, allocations: 0 / 0.9332 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.005081, allocations: 11.98 kB / 0.9332 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.005117, allocations: 8.25 kB / 0.9332 GB, free: 4.082 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002098/0.005327, allocations: 184.9 kB / 0.9334 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001996/0.005527, allocations: 278.6 kB / 0.9337 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.789e-05/0.005604, allocations: 27.97 kB / 0.9337 GB, free: 3.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.005635, allocations: 91.27 kB / 0.9338 GB, free: 3.488 MB / 0.698 GB Notification: Performance of Backend: time 2.2e-07/0.005635, allocations: 0 / 0.9338 GB, free: 3.488 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.005912, allocations: 111.6 kB / 0.9339 GB, free: 3.371 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003785/0.006291, allocations: 0.573 MB / 0.9345 GB, free: 2.75 MB / 0.698 GB Notification: Performance of Templates: time 0.002175/0.008466, allocations: 0.9479 MB / 0.9354 GB, free: 1.824 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.702136227861047] Failed to read output from testmodel.py, exit status != 0: 0.01341117825359106 0.021254327 0.017144621000000002 Calling exit ...