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.04262/0.04262, allocations: 9.132 MB / 28.99 MB, free: 0.8242 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.001393/0.001393, allocations: 91.16 kB / 35.33 MB, free: 1.082 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.001681/0.001681, allocations: 168.9 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.057/1.057, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.004066/0.004066, allocations: 0.8221 MB / 276.5 MB, free: 0.7617 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.6406 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 3.647e-06/3.647e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.977e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002185/0.002225, allocations: 0.5596 MB / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 6.952e-05/0.002294, allocations: 7.984 kB / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.002329, allocations: 0 / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.002366, allocations: 0 / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.002414, allocations: 4 kB / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.493e-05/0.002459, allocations: 0 / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.002536, allocations: 0 / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.002595, allocations: 0 / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.002643, allocations: 4 kB / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.002679, allocations: 4 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.002703, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.002709, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.002728, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.002746, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.002825, allocations: 3.938 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.002833, allocations: 7.938 kB / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.463e-06/0.002835, allocations: 4 kB / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.00284, allocations: 0 / 0.6384 GB, free: 13.54 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.0003221/0.003162, allocations: 217 kB / 0.6386 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.003213, allocations: 11.98 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.003243, allocations: 4.938 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.003364, allocations: 105.8 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.003379, allocations: 384 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.00339, allocations: 384 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.308e-05/0.003473, allocations: 34.25 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.003486, allocations: 4.172 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.003494, allocations: 384 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.003501, allocations: 384 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.232e-05/0.003513, allocations: 3.938 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.003791, allocations: 286.8 kB / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.003897, allocations: 177.2 kB / 0.6392 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.00393, allocations: 80.14 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.003964, allocations: 75.28 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.004022, allocations: 109.8 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.004025, allocations: 0 / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 9.519e-05/0.00412, allocations: 33.62 kB / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.004213, allocations: 130.6 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.004312, allocations: 102.7 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.004325, allocations: 25.7 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.004378, allocations: 80.14 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.004379, allocations: 4.125 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.004408, allocations: 9.719 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.004544, allocations: 314.8 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-06/0.00455, allocations: 0 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.004556, allocations: 0 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.004591, allocations: 75.28 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.004622, allocations: 75.28 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.976e-05/0.004702, allocations: 41.62 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.004751, allocations: 83.22 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.004792, allocations: 79.28 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.708e-05/0.004869, allocations: 154.5 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.004909, allocations: 83.22 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.439e-05/0.004974, allocations: 154.6 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.005052, allocations: 83.22 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.005082, allocations: 75.28 kB / 0.641 GB, free: 10.71 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 0.0001379/0.00522, allocations: 264.4 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.005283, allocations: 104.9 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.005344, allocations: 108 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-05/0.005407, allocations: 180.3 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.536e-05/0.005472, allocations: 184.1 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.709e-05/0.005539, allocations: 180.2 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.00576, allocations: 325.4 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.005799, allocations: 101 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.005844, allocations: 109.2 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.005911, allocations: 184.3 kB / 0.6427 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004404/0.006352, allocations: 184.2 kB / 0.6429 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-05/0.006421, allocations: 188.2 kB / 0.643 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-05/0.006485, allocations: 176.3 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.006642, allocations: 307.7 kB / 0.6435 GB, free: 8.035 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.006688, allocations: 105 kB / 0.6436 GB, free: 7.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.006765, allocations: 184.2 kB / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.006836, allocations: 109 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.006909, allocations: 184.2 kB / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.006949, allocations: 105 kB / 0.6442 GB, free: 7.328 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.006973, allocations: 8.797 kB / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.006973, allocations: 0 / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002617/0.007235, allocations: 4 kB / 0.6442 GB, free: 7.312 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 0.000176/0.007411, allocations: 147.7 kB / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.843e-05/0.007459, allocations: 0 / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.007463, allocations: 4.094 kB / 0.6443 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.007464, allocations: 7.938 kB / 0.6443 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.0078, allocations: 455.7 kB / 0.6448 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.008067, allocations: 163 kB / 0.6449 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.008115, allocations: 51.36 kB / 0.645 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.424e-06/0.008117, allocations: 3.938 kB / 0.645 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.008159, allocations: 51.38 kB / 0.645 GB, free: 6.387 MB / 0.6043 GB Notification: Performance of SimCode: time 1.272e-06/0.00816, allocations: 0 / 0.645 GB, free: 6.387 MB / 0.6043 GB Notification: Performance of Templates: time 0.002021/0.01018, allocations: 168.9 kB / 0.6452 GB, free: 6.223 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.670204509049654]