Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.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.06742/0.06742, allocations: 9.128 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.0009301/0.0009301, 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.001115/0.001115, allocations: 164.5 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 0.9418/0.9418, allocations: 177.1 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.004034/0.004034, allocations: 0.8262 MB / 276.5 MB, free: 0.7227 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.68/1.68, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.275e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Round): time 0.001717/0.00174, allocations: 0.8005 MB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.002583, allocations: 0.8935 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.002621, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.002649, allocations: 3.938 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.00273, allocations: 15.88 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.002861, allocations: 23.97 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.00294, allocations: 67.83 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.003031, allocations: 31.77 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.003115, allocations: 39.84 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.003169, allocations: 31.89 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.003188, allocations: 12 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.003198, allocations: 8 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.003218, allocations: 15.92 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.003242, allocations: 23.97 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.003331, allocations: 51.8 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003334, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.914e-06/0.003336, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.003341, allocations: 0 / 0.6399 GB, free: 12 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003129/0.003654, allocations: 268.7 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.003683, allocations: 11.98 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.00371, allocations: 8.938 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.003787, allocations: 133.5 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.003801, allocations: 4.375 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.003809, allocations: 384 / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00392, allocations: 74.92 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.003925, allocations: 4.188 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.003935, allocations: 4.359 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003938, allocations: 384 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.003975, allocations: 19.88 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004215, allocations: 192.1 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.004293, allocations: 46.55 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.004316, allocations: 16.84 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.004327, allocations: 0 / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004346, allocations: 30.56 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.004347, allocations: 0 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001277/0.004474, allocations: 65.56 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.0045, allocations: 51.52 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.004562, allocations: 130.6 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.004572, allocations: 29.7 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.004603, allocations: 92.08 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.004627, allocations: 19.83 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.004659, allocations: 21.72 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.004728, allocations: 318.8 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.004743, allocations: 4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.00476, allocations: 11.98 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.004803, allocations: 28.77 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.004805, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.658e-05/0.004872, allocations: 54.12 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.004884, allocations: 7.938 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004889, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.0049, allocations: 3.984 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.00498, allocations: 19.98 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.004982, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.005009, allocations: 7.953 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005015, allocations: 0 / 0.6415 GB, free: 10.19 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 (6): * Single equations (assignments): 6 * 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 5.273e-05/0.005067, allocations: 105.8 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.005087, allocations: 15.92 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.005108, allocations: 16.38 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005109, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.005111, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.005113, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.005206, allocations: 85.88 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005207, allocations: 0 / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.005248, allocations: 11.98 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005249, allocations: 0 / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.005258, allocations: 7.984 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005258, allocations: 0 / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.005263, allocations: 15.91 kB / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.005361, allocations: 147.5 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.005369, allocations: 3.953 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005379, allocations: 11.88 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.005418, allocations: 0 / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.005466, allocations: 23.91 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.005469, allocations: 0 / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.007e-05/0.005489, allocations: 24.83 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005489, allocations: 0 / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001212/0.005611, allocations: 8 kB / 0.642 GB, free: 9.676 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 (6): * Single equations (assignments): 6 * 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.574e-05/0.005706, allocations: 76.42 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.005784, allocations: 32.91 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.005787, allocations: 0 / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.005822, allocations: 28.91 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.00596, allocations: 8 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.006227, allocations: 164.2 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.006261, allocations: 67.34 kB / 0.6423 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.006294, allocations: 7.984 kB / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.006358, allocations: 63.36 kB / 0.6424 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of SimCode: time 7.11e-07/0.006358, allocations: 0 / 0.6424 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of Templates: time 0.002671/0.00903, allocations: 1.385 MB / 0.6438 GB, free: 7.793 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.417893598321825]