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/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.04243/0.04243, allocations: 9.131 MB / 28.99 MB, free: 344 kB / 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.0008906/0.0008906, allocations: 95.14 kB / 35.33 MB, free: 0.9375 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.001027/0.001027, allocations: 168.3 kB / 38.73 MB, free: 2.402 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.9228/0.9228, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.003931/0.003931, allocations: 0.8299 MB / 276.5 MB, free: 0.7383 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.586/1.586, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.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 2.294e-06/2.294e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/3.023e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001305/0.001335, allocations: 0.6835 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.002087, allocations: 0.8586 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.002118, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.002142, allocations: 7.938 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.002203, allocations: 3.938 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.002354, allocations: 15.92 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.002415, allocations: 27.92 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.898e-05/0.002484, allocations: 3.984 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.002551, allocations: 15.98 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.394e-05/0.002585, allocations: 7.938 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.002598, allocations: 4 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.002639, allocations: 7.938 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.002655, allocations: 7.984 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.146e-05/0.002667, allocations: 4 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.002747, allocations: 23.97 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002749, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002749, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.002752, allocations: 3.938 kB / 0.6395 GB, free: 12.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002456/0.002998, allocations: 232.9 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.00303, allocations: 15.98 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.003104, allocations: 4.938 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.003176, allocations: 109.7 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.003185, allocations: 4.375 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003193, allocations: 8.375 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.003279, allocations: 58.88 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003284, allocations: 192 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.003291, allocations: 384 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.003294, allocations: 384 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.003313, allocations: 7.938 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.003625, allocations: 144.3 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.003661, allocations: 26.5 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.015e-05/0.003671, allocations: 4.859 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.003683, allocations: 4.062 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.0037, allocations: 34.56 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003701, allocations: 0 / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.73e-05/0.003788, allocations: 37.73 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.003816, allocations: 55.34 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.003862, allocations: 102.7 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.003871, allocations: 25.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.003896, allocations: 92.12 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.003911, allocations: 3.953 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.003931, allocations: 21.66 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.003998, allocations: 314.8 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.004004, allocations: 4.125 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.004011, allocations: 4 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.805e-05/0.004029, allocations: 12.84 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.00403, allocations: 0 / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.264e-05/0.004063, allocations: 33.7 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.004073, allocations: 4 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004077, allocations: 0 / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.004086, allocations: 0 / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.004135, allocations: 15.86 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004138, allocations: 12.03 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.004153, allocations: 3.938 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.004156, allocations: 0 / 0.6409 GB, free: 10.86 MB / 0.6043 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.481e-05/0.004201, allocations: 113.8 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.004213, allocations: 3.984 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.004263, allocations: 41 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.004264, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.004269, allocations: 3.938 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.004271, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.298e-05/0.004344, allocations: 61.91 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004345, allocations: 4.031 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.004362, allocations: 7.984 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.004363, allocations: 4 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.004368, allocations: 4 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.004368, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004369, allocations: 3.938 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.106e-05/0.00443, allocations: 135.5 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.004436, allocations: 3.984 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.004444, allocations: 4 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.004471, allocations: 4.031 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.004496, allocations: 7.984 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.004497, allocations: 0 / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.117e-06/0.004506, allocations: 8.797 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004506, allocations: 4 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001046/0.004611, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 5.933e-05/0.00467, allocations: 76.42 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.495e-05/0.004715, allocations: 16.8 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.004717, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.00473, allocations: 16.91 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.004845, allocations: 7.938 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.005144, allocations: 108.7 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005174, allocations: 55.34 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.005187, allocations: 4 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.005221, allocations: 47.38 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.005222, allocations: 4.062 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of Templates: time 0.001628/0.00685, allocations: 456.8 kB / 0.642 GB, free: 9.566 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.236353266052902]