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.04779/0.04779, allocations: 9.13 MB / 28.99 MB, free: 0.8125 MB / 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.0009785/0.0009785, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.0009997/0.0009997, allocations: 166.7 kB / 38.73 MB, free: 2.508 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.9596/0.9596, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004019/0.004019, allocations: 0.8257 MB / 276.5 MB, free: 0.75 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.676/1.676, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.756e-06/2.756e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.514e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001568/0.001593, allocations: 0.7189 MB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.002439, allocations: 0.8625 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.002469, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.002495, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.00256, allocations: 11.88 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.002712, allocations: 11.98 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.00277, allocations: 23.94 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.002841, allocations: 7.969 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.002922, allocations: 16 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.259e-05/0.002955, allocations: 7.922 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.002969, allocations: 4 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.003026, allocations: 7.938 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.003042, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.003056, allocations: 7.984 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.489e-05/0.00314, allocations: 19.97 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003143, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003144, allocations: 4 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003147, allocations: 7.875 kB / 0.6396 GB, free: 12.3 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.0002505/0.003398, allocations: 232.9 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.003431, allocations: 11.98 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.00351, allocations: 8.922 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.00359, allocations: 109.7 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.0036, allocations: 8.375 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-06/0.003605, allocations: 384 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.0037, allocations: 50.95 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003706, allocations: 192 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003713, allocations: 4.375 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.003718, allocations: 384 / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.003739, allocations: 11.92 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.003944, allocations: 144.3 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.781e-05/0.003981, allocations: 22.61 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.003994, allocations: 8.922 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.004007, allocations: 0 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.00403, allocations: 30.56 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.004032, allocations: 3.984 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.00414, allocations: 45.62 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.004171, allocations: 55.34 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.004227, allocations: 106.7 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004236, allocations: 25.7 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.004266, allocations: 84.14 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.004281, allocations: 3.953 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.004307, allocations: 21.7 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.004385, allocations: 314.8 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.004395, allocations: 4 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.004402, allocations: 0 / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.004426, allocations: 13.05 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004428, allocations: 3.984 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.678e-05/0.004475, allocations: 37.64 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.00449, allocations: 4 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.004495, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.004509, allocations: 4 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.004578, allocations: 11.92 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.004582, allocations: 7.938 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.004601, allocations: 7.938 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004604, allocations: 0 / 0.641 GB, free: 10.77 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 5.125e-05/0.004655, allocations: 113.9 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.004669, allocations: 0 / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.004735, allocations: 44.94 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004736, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.004738, allocations: 3.938 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.00474, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.706e-05/0.004818, allocations: 65.89 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.004819, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.004844, allocations: 8 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004845, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.004851, allocations: 8.016 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.004853, allocations: 3.984 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.004854, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/0.00492, allocations: 131.5 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.004928, allocations: 11.97 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.004935, allocations: 3.938 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.004969, allocations: 4 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.004994, allocations: 0 / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.004996, allocations: 0 / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.261e-05/0.005009, allocations: 16.78 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005009, allocations: 4.031 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001127/0.005122, allocations: 4 kB / 0.6414 GB, free: 10.3 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 8.239e-05/0.005204, allocations: 72.42 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.507e-05/0.005259, allocations: 12.86 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005262, allocations: 4 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.005273, allocations: 4.859 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.005438, allocations: 7.984 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.005796, allocations: 116.8 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.005827, allocations: 55.36 kB / 0.6416 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.005845, allocations: 3.984 kB / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.005887, allocations: 51.38 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of SimCode: time 8.42e-07/0.005887, allocations: 0 / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of Templates: time 0.001934/0.007821, allocations: 456.3 kB / 0.6421 GB, free: 9.48 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.231930465437472]