Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.04236/0.04236, allocations: 9.13 MB / 28.99 MB, free: 0.8086 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.0008727/0.0008727, allocations: 91.27 kB / 35.33 MB, free: 1.066 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.001154/0.001154, allocations: 163.7 kB / 38.73 MB, free: 2.504 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 1.013/1.013, 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.004176/0.004176, allocations: 0.8295 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.619/1.619, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.548e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001112/0.001127, allocations: 0.6029 MB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 4.662e-05/0.001174, allocations: 3.938 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.001196, allocations: 0 / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.001221, allocations: 0 / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.806e-05/0.00125, allocations: 4 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.352e-05/0.001283, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.001329, allocations: 8 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.001365, allocations: 3.984 kB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.001396, allocations: 3.984 kB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.001419, allocations: 4 kB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.001433, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.001436, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.001449, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.001462, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 5.184e-05/0.001514, allocations: 3.938 kB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.001515, allocations: 4 kB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.41e-07/0.001516, allocations: 0 / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.001519, allocations: 0 / 0.6385 GB, free: 13.44 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001735/0.001692, allocations: 213.1 kB / 0.6387 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.001723, allocations: 11.98 kB / 0.6387 GB, free: 13.19 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.001744, allocations: 8.859 kB / 0.6387 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.001816, allocations: 109.8 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.001824, allocations: 384 / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-06/0.001829, allocations: 384 / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.782e-05/0.001876, allocations: 26.27 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.001882, allocations: 8.188 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.001887, allocations: 384 / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.001891, allocations: 384 / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.732e-06/0.001898, allocations: 7.922 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.002054, allocations: 290.8 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.002114, allocations: 169.2 kB / 0.6393 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.002135, allocations: 80.14 kB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.002151, allocations: 75.28 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.002184, allocations: 109.8 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.002184, allocations: 4 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 4.945e-05/0.002234, allocations: 29.64 kB / 0.6396 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.002274, allocations: 134.6 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.002322, allocations: 94.72 kB / 0.6398 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.002329, allocations: 29.7 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.002355, allocations: 80.14 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-07/0.002355, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.002373, allocations: 17.69 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.002438, allocations: 314.8 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-06/0.00244, allocations: 0 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-06/0.002443, allocations: 0 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.756e-05/0.00246, allocations: 75.28 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.002479, allocations: 79.41 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.45e-05/0.002513, allocations: 33.64 kB / 0.6404 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.002539, allocations: 83.22 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.002557, allocations: 75.28 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.002598, allocations: 154.6 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.002617, allocations: 91.14 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.002651, allocations: 158.6 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.00269, allocations: 83.22 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.002707, allocations: 75.28 kB / 0.6411 GB, free: 10.61 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 (0): * Single equations (assignments): 0 * 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 7.258e-05/0.00278, allocations: 256.4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.002815, allocations: 116.9 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.002848, allocations: 108 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.002889, allocations: 176.3 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.053e-05/0.002929, allocations: 188.1 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/0.002969, allocations: 184.3 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.003079, allocations: 317.4 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.003102, allocations: 105 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.003131, allocations: 101.3 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-05/0.003173, allocations: 192.2 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.003212, allocations: 176.3 kB / 0.643 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.166e-05/0.003254, allocations: 184.2 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.73e-05/0.003291, allocations: 184.2 kB / 0.6433 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.71e-05/0.003379, allocations: 307.7 kB / 0.6436 GB, free: 7.926 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.003406, allocations: 105 kB / 0.6437 GB, free: 7.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.00345, allocations: 188.2 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.003492, allocations: 101 kB / 0.644 GB, free: 7.52 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.003533, allocations: 180.3 kB / 0.6442 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.003555, allocations: 104.9 kB / 0.6443 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.217e-06/0.003564, allocations: 8.797 kB / 0.6443 GB, free: 7.215 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003564, allocations: 0 / 0.6443 GB, free: 7.215 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001282/0.003693, allocations: 96 / 0.6443 GB, free: 7.215 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 (0): * Single equations (assignments): 0 * 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 7.673e-05/0.003769, allocations: 163.7 kB / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 2.423e-05/0.003794, allocations: 0 / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.003795, allocations: 0 / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.003797, allocations: 7.938 kB / 0.6444 GB, free: 7.039 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.003974, allocations: 451.7 kB / 0.6449 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001368/0.004111, allocations: 155 kB / 0.645 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.602e-05/0.004137, allocations: 51.36 kB / 0.6451 GB, free: 6.344 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.763e-06/0.004139, allocations: 3.938 kB / 0.6451 GB, free: 6.34 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.004159, allocations: 51.38 kB / 0.6451 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of SimCode: time 3.1e-07/0.004159, allocations: 0 / 0.6451 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of Templates: time 0.00112/0.005279, allocations: 168.9 kB / 0.6453 GB, free: 6.125 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.368101740721613]