Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.0705/0.0705, allocations: 9.133 MB / 28.99 MB, free: 420 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.001269/0.001269, allocations: 94.53 kB / 35.33 MB, free: 0.9258 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.001239/0.001239, allocations: 163.1 kB / 38.73 MB, free: 2.395 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.9918/0.9918, 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.004108/0.004108, allocations: 0.8224 MB / 276.5 MB, free: 0.7422 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.667/1.667, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.852e-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.Sources.Validation.Ramp): time 0.002105/0.002134, allocations: 0.6551 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003178, allocations: 0.8391 MB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.00321, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.003236, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.003303, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.851e-05/0.003352, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.003422, allocations: 19.92 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.003462, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.003556, allocations: 11.94 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.003593, allocations: 11.98 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003608, allocations: 0 / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-06/0.003612, allocations: 0 / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.003628, allocations: 11.94 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.003643, allocations: 0 / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.003713, allocations: 15.97 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003716, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003717, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003721, allocations: 0 / 0.6395 GB, free: 12.45 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003018/0.004023, allocations: 229 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.004066, allocations: 15.97 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.004089, allocations: 0.9375 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.004181, allocations: 105.8 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004192, allocations: 384 / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.004198, allocations: 4.375 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004302, allocations: 50.95 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004309, allocations: 192 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.004315, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.00432, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.004337, allocations: 7.875 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.496e-05/0.004432, allocations: 57.05 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.004472, allocations: 14.58 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.004486, allocations: 8.953 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004492, allocations: 4 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.004519, allocations: 38.55 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.00452, allocations: 0 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.888e-05/0.004619, allocations: 37.58 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.004651, allocations: 55.41 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.004718, allocations: 110.7 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.00473, allocations: 25.7 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.004758, allocations: 80.14 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.004781, allocations: 3.953 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.00481, allocations: 13.72 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.004904, allocations: 322.9 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.004917, allocations: 4 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.004924, allocations: 0 / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.004954, allocations: 12.84 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004955, allocations: 3.938 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.244e-05/0.005008, allocations: 29.7 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005021, allocations: 4 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005027, allocations: 3.984 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005039, allocations: 0 / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.005104, allocations: 16.08 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.005107, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.005128, allocations: 4 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.005133, allocations: 0 / 0.6407 GB, free: 11.05 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 (1): * Single equations (assignments): 1 * 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 6.22e-05/0.005195, allocations: 113.8 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.005202, allocations: 0 / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.005218, allocations: 3.156 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00522, allocations: 0 / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005223, allocations: 4 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.005227, allocations: 3.984 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.447e-05/0.005301, allocations: 73.84 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005302, allocations: 0 / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.005332, allocations: 4 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005333, allocations: 0 / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005338, allocations: 3.938 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005339, allocations: 0 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00534, allocations: 4 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.005408, allocations: 57.06 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005416, allocations: 7.938 kB / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.005424, allocations: 0 / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.005447, allocations: 15.95 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.005477, allocations: 4 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005479, allocations: 0 / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.005494, allocations: 12.84 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1e-07/0.005494, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001617/0.005656, allocations: 0 / 0.641 GB, free: 10.7 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 (1): * Single equations (assignments): 1 * 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.484e-05/0.00575, allocations: 80.41 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.005811, allocations: 12.8 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.005814, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.005827, allocations: 8.922 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.005941, allocations: 11.88 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.006165, allocations: 96.75 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.006202, allocations: 51.36 kB / 0.6412 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.006221, allocations: 4 kB / 0.6412 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.006267, allocations: 47.38 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of SimCode: time 8.42e-07/0.006268, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of Templates: time 0.00232/0.008587, allocations: 439.7 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4495799746364355]