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.03951/0.03951, allocations: 9.129 MB / 28.99 MB, free: 340 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.0008361/0.0008361, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001871/0.001871, allocations: 165.1 kB / 38.73 MB, free: 2.398 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.9333/0.9333, 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.004043/0.004043, allocations: 0.8257 MB / 276.5 MB, free: 0.7461 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.639/1.639, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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 2.134e-06/2.134e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.809e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Max): time 0.001325/0.001353, allocations: 0.6951 MB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.002163, allocations: 0.8547 MB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002193, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.002217, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.002284, allocations: 15.88 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.002388, allocations: 11.97 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.002465, allocations: 39.86 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.002548, allocations: 15.97 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.002644, allocations: 23.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.002686, allocations: 15.98 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.002707, allocations: 4 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002716, allocations: 8 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.002733, allocations: 7.984 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.002753, allocations: 11.94 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.002833, allocations: 35.83 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002835, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002835, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002839, allocations: 0 / 0.6396 GB, free: 12.31 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.0003356/0.003174, allocations: 252.9 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003207, allocations: 19.92 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.00323, allocations: 4.922 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.003307, allocations: 117.7 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.003316, allocations: 4.375 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.003325, allocations: 384 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00343, allocations: 62.94 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003436, allocations: 4.172 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.003442, allocations: 4.375 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003446, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.003469, allocations: 11.88 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.003674, allocations: 152.3 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.003723, allocations: 30.56 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.003738, allocations: 8.859 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.00375, allocations: 0 / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.003769, allocations: 34.5 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.003769, allocations: 0 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.003873, allocations: 49.78 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.0039, allocations: 51.41 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.003961, allocations: 118.7 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.003971, allocations: 25.7 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.003998, allocations: 80.14 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.004018, allocations: 15.89 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004044, allocations: 25.7 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.004112, allocations: 314.8 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-06/0.004121, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.004131, allocations: 4 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.004155, allocations: 16.78 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.004157, allocations: 4 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.336e-05/0.0042, allocations: 37.69 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004211, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.004215, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004225, allocations: 3.938 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.004289, allocations: 19.98 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.004292, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.004314, allocations: 11.98 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.004319, allocations: 3.938 kB / 0.641 GB, free: 10.69 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.878e-05/0.004368, allocations: 109.8 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.004383, allocations: 8 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.004446, allocations: 45.67 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004449, allocations: 3.938 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.00445, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004453, allocations: 384 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.764e-05/0.00453, allocations: 81.83 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.004532, allocations: 3.984 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.004556, allocations: 8 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004557, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.004561, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004561, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.004563, allocations: 3.984 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.52e-05/0.004628, allocations: 143.4 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.004636, allocations: 7.953 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.004643, allocations: 0 / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.004677, allocations: 8 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.004707, allocations: 7.984 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.00471, allocations: 7.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.004724, allocations: 16.83 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004724, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001166/0.004841, allocations: 8 kB / 0.6415 GB, free: 10.18 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.608e-05/0.004907, allocations: 72.42 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.004962, allocations: 16.8 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.004964, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.004981, allocations: 20.84 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.005108, allocations: 8 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.005317, allocations: 124.4 kB / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.005347, allocations: 59.3 kB / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.005363, allocations: 0 / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.005405, allocations: 55.38 kB / 0.6418 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of SimCode: time 2.71e-07/0.005406, allocations: 4 kB / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of Templates: time 0.001923/0.007329, allocations: 0.6763 MB / 0.6425 GB, free: 9.086 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.361368448939174]