Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.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.000829/0.000829, allocations: 79.69 kB / 20.03 MB, free: 4.48 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.0008336/0.0008336, allocations: 165.3 kB / 23.33 MB, free: 1.184 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.8516/0.8516, allocations: 177.1 MB / 203.6 MB, free: 5.676 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.03445/0.03445, allocations: 9.124 MB / 269.2 MB, free: 4.422 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.0004019/0.0004019, allocations: 39.66 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.481/1.481, allocations: 275 MB / 0.6476 GB, free: 2.465 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9295 GB, free: 8.07 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.603e-05, allocations: 5.234 kB / 0.9295 GB, free: 8.066 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00108/0.001096, allocations: 0.6444 MB / 0.9302 GB, free: 7.438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006937/0.001789, allocations: 0.856 MB / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.001822, allocations: 0.5938 kB / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.001844, allocations: 4.438 kB / 0.931 GB, free: 6.566 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.001904, allocations: 8.5 kB / 0.931 GB, free: 6.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.002057, allocations: 4 kB / 0.931 GB, free: 6.555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.002115, allocations: 29.73 kB / 0.931 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.002191, allocations: 3.984 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.002253, allocations: 12 kB / 0.9311 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.002284, allocations: 7.984 kB / 0.9311 GB, free: 6.504 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002298, allocations: 7.938 kB / 0.9311 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.002337, allocations: 10.83 kB / 0.9311 GB, free: 6.488 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.00235, allocations: 3.938 kB / 0.9311 GB, free: 6.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.002369, allocations: 11.98 kB / 0.9311 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.023e-05/0.002459, allocations: 23.91 kB / 0.9311 GB, free: 6.449 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002461, allocations: 4 kB / 0.9311 GB, free: 6.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002462, allocations: 0 / 0.9311 GB, free: 6.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.002465, allocations: 0 / 0.9311 GB, free: 6.445 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003135/0.002778, allocations: 259.6 kB / 0.9314 GB, free: 6.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.002813, allocations: 11.98 kB / 0.9314 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.002873, allocations: 4.938 kB / 0.9314 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.002946, allocations: 110.4 kB / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.002953, allocations: 1.375 kB / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.002963, allocations: 384 / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003079, allocations: 46.91 kB / 0.9315 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.003088, allocations: 8.109 kB / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003095, allocations: 2.594 kB / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003099, allocations: 384 / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.003184, allocations: 39.84 kB / 0.9316 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.003413, allocations: 204.5 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/0.003487, allocations: 35.66 kB / 0.9318 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.00353, allocations: 17.78 kB / 0.9318 GB, free: 5.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.003546, allocations: 7.938 kB / 0.9318 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.003563, allocations: 32.12 kB / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.003564, allocations: 0 / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/0.003773, allocations: 90.8 kB / 0.932 GB, free: 5.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.003792, allocations: 51.41 kB / 0.932 GB, free: 5.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.003846, allocations: 106.5 kB / 0.9321 GB, free: 5.305 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.003856, allocations: 25.7 kB / 0.9321 GB, free: 5.273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.003887, allocations: 86.3 kB / 0.9322 GB, free: 5.188 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.003902, allocations: 7.953 kB / 0.9322 GB, free: 5.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.003923, allocations: 13.72 kB / 0.9322 GB, free: 5.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.003992, allocations: 314.8 kB / 0.9325 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.004033, allocations: 19.98 kB / 0.9326 GB, free: 4.824 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.004068, allocations: 17.02 kB / 0.9326 GB, free: 4.809 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.004143, allocations: 40.33 kB / 0.9326 GB, free: 4.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004145, allocations: 0 / 0.9326 GB, free: 4.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.843e-05/0.004243, allocations: 69.66 kB / 0.9327 GB, free: 4.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.004254, allocations: 4 kB / 0.9327 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004257, allocations: 0 / 0.9327 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004268, allocations: 10.47 kB / 0.9327 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.004324, allocations: 7.984 kB / 0.9327 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.004335, allocations: 0 / 0.9327 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.004358, allocations: 7.984 kB / 0.9327 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004361, allocations: 0 / 0.9327 GB, free: 4.668 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 (2): * Single equations (assignments): 2 * 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.813e-05/0.00441, allocations: 110.7 kB / 0.9328 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.004424, allocations: 5.922 kB / 0.9328 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.004544, allocations: 76.91 kB / 0.9329 GB, free: 4.469 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.004547, allocations: 3.938 kB / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004548, allocations: 4.25 kB / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.004552, allocations: 0 / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.004561, allocations: 7.922 kB / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.004597, allocations: 4 kB / 0.9329 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.004631, allocations: 7.984 kB / 0.9329 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001206/0.004752, allocations: 144.9 kB / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001365/0.004888, allocations: 242.7 kB / 0.9333 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.48e-05/0.004933, allocations: 15.98 kB / 0.9333 GB, free: 4.023 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.004958, allocations: 83.27 kB / 0.9334 GB, free: 3.941 MB / 0.698 GB Notification: Performance of Backend: time 1.2e-07/0.004958, allocations: 0 / 0.9334 GB, free: 3.941 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.005231, allocations: 97.2 kB / 0.9335 GB, free: 3.844 MB / 0.698 GB Notification: Performance of SimCode: time 0.0005709/0.005802, allocations: 0.5574 MB / 0.934 GB, free: 3.238 MB / 0.698 GB Notification: Performance of Templates: time 0.001938/0.00774, allocations: 0.6346 MB / 0.9346 GB, free: 2.625 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5412020199000835] Failed to read output from testmodel.py, exit status != 0: 0.012685351073741913 0.026023454 0.021217639 Calling exit ...