Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.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.04933/0.04933, allocations: 9.129 MB / 28.99 MB, free: 408 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.0009972/0.0009972, allocations: 98.58 kB / 35.33 MB, free: 0.9141 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.001166/0.001166, allocations: 164.9 kB / 38.73 MB, free: 2.238 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.9006/0.9006, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.005814/0.005814, allocations: 0.828 MB / 276.5 MB, free: 0.7344 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.652/1.652, 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.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.583e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001592/0.001618, allocations: 0.8381 MB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000886/0.002504, allocations: 0.9364 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.002561, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.002667, allocations: 19.8 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.00276, allocations: 19.8 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.002909, allocations: 63.8 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.003041, allocations: 131.7 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003147, allocations: 29.94 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.003234, allocations: 83.8 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.003345, allocations: 63.84 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.003374, allocations: 12 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.00339, allocations: 12 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.003438, allocations: 35.89 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.003477, allocations: 39.89 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003603, allocations: 107.6 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003605, allocations: 0 / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003606, allocations: 0 / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003609, allocations: 4 kB / 0.6402 GB, free: 11.71 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004013/0.00401, allocations: 320.4 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.004042, allocations: 15.98 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.004078, allocations: 16.92 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004202, allocations: 146 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.004221, allocations: 8.375 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.004237, allocations: 4.375 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.004422, allocations: 121.1 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004429, allocations: 0 / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.00444, allocations: 4 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.004446, allocations: 7.984 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.004504, allocations: 23.98 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.004821, allocations: 241.6 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.005094, allocations: 133.2 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.00513, allocations: 20.86 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.005144, allocations: 0 / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.005166, allocations: 34.56 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.005167, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001696/0.005336, allocations: 85.59 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.005369, allocations: 51.41 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.005444, allocations: 154.6 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.005457, allocations: 29.7 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.005492, allocations: 104.1 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.005516, allocations: 23.75 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.005557, allocations: 33.67 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.005629, allocations: 318.8 kB / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.00566, allocations: 18.81 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.00569, allocations: 20.23 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/0.005759, allocations: 50.47 kB / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005761, allocations: 0 / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003587/0.00612, allocations: 77.59 kB / 0.6422 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.006131, allocations: 4 kB / 0.6422 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006135, allocations: 0 / 0.6422 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006147, allocations: 3.938 kB / 0.6422 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.006243, allocations: 23.98 kB / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006247, allocations: 7.922 kB / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.006294, allocations: 12 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.006302, allocations: 7.969 kB / 0.6422 GB, free: 9.465 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.548e-05/0.006378, allocations: 120.7 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.006398, allocations: 4 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.006422, allocations: 20.77 kB / 0.6424 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006424, allocations: 0 / 0.6424 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006425, allocations: 7.938 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006429, allocations: 3.938 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006538, allocations: 105.7 kB / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006539, allocations: 0 / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.006612, allocations: 31.97 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.006615, allocations: 4 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.006621, allocations: 4 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.006624, allocations: 3.984 kB / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006625, allocations: 0 / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.00676, allocations: 218.1 kB / 0.6427 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.006771, allocations: 11.92 kB / 0.6427 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006784, allocations: 4 kB / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.006844, allocations: 4 kB / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.006927, allocations: 39.94 kB / 0.6428 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.006938, allocations: 4 kB / 0.6428 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.006974, allocations: 36.77 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.006974, allocations: 0 / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001768/0.007151, allocations: 20 kB / 0.6428 GB, free: 8.785 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 9.78e-05/0.007249, allocations: 84.41 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.007359, allocations: 48.77 kB / 0.643 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.007362, allocations: 0 / 0.643 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.007417, allocations: 44.77 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.007571, allocations: 23.98 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.007895, allocations: 224.1 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.007928, allocations: 67.28 kB / 0.6433 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.007983, allocations: 20.48 kB / 0.6433 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.008081, allocations: 79.36 kB / 0.6434 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of SimCode: time 6.02e-07/0.008081, allocations: 7.875 kB / 0.6434 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of Templates: time 0.00381/0.01189, allocations: 2.574 MB / 0.6459 GB, free: 5.562 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418566176202148]