Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.07184/0.07184, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.0009031/0.0009031, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001158/0.001158, allocations: 165.1 kB / 38.73 MB, free: 2.492 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.931/0.931, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.003988/0.003988, allocations: 0.8295 MB / 276.5 MB, free: 0.7578 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.64/1.64, allocations: 274.9 MB / 0.5419 GB, free: 0.5781 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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 3.984 kB / 0.6379 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.575e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001542/0.001568, allocations: 0.8546 MB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002585, allocations: 0.9248 MB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.002643, allocations: 3.938 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.002755, allocations: 15.8 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.002865, allocations: 35.72 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.002988, allocations: 43.94 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.003136, allocations: 135.5 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.003266, allocations: 42.11 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.003363, allocations: 71.88 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.003468, allocations: 75.83 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003495, allocations: 12 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.00351, allocations: 12 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.003559, allocations: 43.84 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.003602, allocations: 43.83 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003748, allocations: 127.5 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.003752, allocations: 8 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003752, allocations: 0 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003756, allocations: 0 / 0.6403 GB, free: 11.56 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004427/0.004199, allocations: 380 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.004231, allocations: 11.98 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.004267, allocations: 16.92 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.004411, allocations: 169.2 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.00442, allocations: 4.375 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.004435, allocations: 12.38 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.004627, allocations: 121.6 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004633, allocations: 192 / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004644, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004648, allocations: 384 / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.004704, allocations: 27.92 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.005113, allocations: 285.6 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.005212, allocations: 96.02 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.005248, allocations: 20.84 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.005258, allocations: 0 / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.005278, allocations: 34.56 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.031e-06/0.005279, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001607/0.00544, allocations: 69.8 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.005469, allocations: 55.41 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.005555, allocations: 170.6 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.005568, allocations: 25.7 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.005607, allocations: 100.2 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.005639, allocations: 39.67 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.005674, allocations: 21.72 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.005759, allocations: 326.8 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.005789, allocations: 6.828 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.005816, allocations: 16.3 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.005876, allocations: 42.62 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005879, allocations: 7.875 kB / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.366e-05/0.005972, allocations: 69.61 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005984, allocations: 4 kB / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.005988, allocations: 0 / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.005998, allocations: 0 / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.006111, allocations: 27.97 kB / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006113, allocations: 0 / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.006162, allocations: 19.92 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.00617, allocations: 7.984 kB / 0.6424 GB, free: 9.238 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 (9): * Single equations (assignments): 9 * 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.012e-05/0.00624, allocations: 120.6 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.006263, allocations: 11.98 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.006291, allocations: 25.45 kB / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006292, allocations: 0 / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.006295, allocations: 3.984 kB / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006298, allocations: 0 / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.006417, allocations: 109.8 kB / 0.6427 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006418, allocations: 0 / 0.6427 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.006488, allocations: 31.98 kB / 0.6427 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00649, allocations: 7.938 kB / 0.6427 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006496, allocations: 0 / 0.6427 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.006499, allocations: 3.984 kB / 0.6427 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0065, allocations: 0 / 0.6427 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.006645, allocations: 206.2 kB / 0.6429 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.00666, allocations: 19.84 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006673, allocations: 0 / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.006736, allocations: 15.98 kB / 0.6429 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.006781, allocations: 15.97 kB / 0.6429 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006785, allocations: 4 kB / 0.6429 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.006822, allocations: 53.84 kB / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006822, allocations: 0 / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001381/0.00696, allocations: 31.89 kB / 0.643 GB, free: 8.547 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 (9): * Single equations (assignments): 9 * 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.647e-05/0.007056, allocations: 80.42 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.007162, allocations: 40.78 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.007166, allocations: 0 / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.00721, allocations: 28.78 kB / 0.6432 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.007414, allocations: 32.48 kB / 0.6432 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.007878, allocations: 284.4 kB / 0.6435 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.00794, allocations: 79.31 kB / 0.6435 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.007987, allocations: 8.5 kB / 0.6436 GB, free: 7.941 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.008085, allocations: 67.36 kB / 0.6436 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of SimCode: time 6.72e-07/0.008085, allocations: 0 / 0.6436 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of Templates: time 0.003586/0.01167, allocations: 1.892 MB / 0.6455 GB, free: 5.984 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.338448611088097]