Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.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.08037/0.08037, allocations: 9.129 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.001158/0.001158, allocations: 90.72 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.001485/0.001485, allocations: 163.6 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 1.037/1.037, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.0042/0.0042, allocations: 0.8294 MB / 276.5 MB, free: 0.7188 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.628/1.628, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6379 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.585e-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.Max): time 0.001241/0.001257, allocations: 0.7578 MB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.002038, allocations: 0.8546 MB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.00207, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.002096, allocations: 7.922 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.00216, allocations: 7.922 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 8.364e-05/0.002243, allocations: 15.98 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.002309, allocations: 39.86 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.002377, allocations: 11.98 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.002453, allocations: 19.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.002492, allocations: 15.98 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.002508, allocations: 11.88 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.002516, allocations: 4 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.002534, allocations: 11.97 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.00255, allocations: 8 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.495e-05/0.002625, allocations: 31.84 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002626, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002627, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002631, allocations: 0 / 0.6397 GB, free: 12.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002561/0.002887, allocations: 256.8 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.002921, allocations: 15.98 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.002949, allocations: 4.938 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.003024, allocations: 109.8 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.003032, allocations: 4.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.00304, allocations: 4.375 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.003141, allocations: 58.94 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.003146, allocations: 4.125 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.003154, allocations: 4.375 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003158, allocations: 384 / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.003179, allocations: 15.92 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.003365, allocations: 156.2 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.003415, allocations: 22.64 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.003431, allocations: 12.8 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.003443, allocations: 0 / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.003462, allocations: 34.56 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003462, allocations: 0 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.643e-05/0.003559, allocations: 45.72 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.003587, allocations: 51.41 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.865e-05/0.003646, allocations: 118.7 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.003656, allocations: 33.64 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.003685, allocations: 92.11 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.003701, allocations: 7.906 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.003723, allocations: 17.72 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.003795, allocations: 314.8 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.003807, allocations: 11.92 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.003817, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.003839, allocations: 12.86 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003841, allocations: 0 / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.531e-05/0.003886, allocations: 41.69 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.003897, allocations: 8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.003901, allocations: 8 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.003912, allocations: 7.922 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.003968, allocations: 8 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.003972, allocations: 3.938 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.003993, allocations: 7.984 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.003998, allocations: 0 / 0.6411 GB, free: 10.59 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 (3): * Single equations (assignments): 3 * 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 4.609e-05/0.004044, allocations: 109.8 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.004058, allocations: 336 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.004119, allocations: 53.66 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.004123, allocations: 7.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004124, allocations: 4 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004127, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.876e-05/0.004205, allocations: 73.88 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004206, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.004233, allocations: 8 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.004233, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-06/0.004238, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004239, allocations: 3.984 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004241, allocations: 3.938 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.872e-05/0.004309, allocations: 139.5 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.004316, allocations: 11.89 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.004325, allocations: 4 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.004361, allocations: 7.984 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.004387, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.00439, allocations: 7.875 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.316e-05/0.004403, allocations: 20.84 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004403, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001292/0.004532, allocations: 4 kB / 0.6416 GB, free: 10.09 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 (3): * Single equations (assignments): 3 * 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 6.106e-05/0.004593, allocations: 76.42 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.004649, allocations: 24.78 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.004651, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.004668, allocations: 12.84 kB / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.004802, allocations: 8 kB / 0.6417 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.004996, allocations: 128.4 kB / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.005027, allocations: 59.3 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.005046, allocations: 4 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.00509, allocations: 55.36 kB / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of SimCode: time 4.21e-07/0.005091, allocations: 0 / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of Templates: time 0.001842/0.006933, allocations: 0.6842 MB / 0.6426 GB, free: 8.977 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.363250482361764]