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.04287/0.04287, allocations: 9.133 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.0008518/0.0008518, allocations: 98.39 kB / 35.33 MB, free: 1.066 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.001188/0.001188, allocations: 168.4 kB / 38.73 MB, free: 2.477 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.015/1.015, allocations: 177.1 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.004091/0.004091, allocations: 0.822 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.584/1.584, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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 3.186e-06/3.186e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.542e-05, allocations: 10.19 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002271/0.002307, allocations: 0.6158 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003476, allocations: 0.8313 MB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.003509, allocations: 0 / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.003539, allocations: 0 / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.003619, allocations: 0 / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.291e-05/0.003672, allocations: 8 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.003753, allocations: 19.92 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.003836, allocations: 4 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.003957, allocations: 15.92 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.003989, allocations: 3.938 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.004009, allocations: 4 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.004014, allocations: 0 / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.004032, allocations: 7.984 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.00405, allocations: 4 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.004127, allocations: 11.97 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00413, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004131, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.004134, allocations: 0 / 0.6394 GB, free: 12.52 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.0002758/0.00441, allocations: 225 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.00445, allocations: 15.98 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.004473, allocations: 0.9375 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.004552, allocations: 101.8 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004562, allocations: 4.375 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.004571, allocations: 8.312 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.004666, allocations: 46.95 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004672, allocations: 4.188 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004679, allocations: 384 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004683, allocations: 384 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.004697, allocations: 11.88 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.656e-05/0.004774, allocations: 61.03 kB / 0.6398 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.573e-05/0.004809, allocations: 14.58 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.004822, allocations: 4.859 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.00483, allocations: 4.094 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.004851, allocations: 30.56 kB / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.004852, allocations: 0 / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.306e-05/0.004945, allocations: 37.64 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.004979, allocations: 51.41 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.005038, allocations: 114.7 kB / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.005048, allocations: 25.7 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.005072, allocations: 80.14 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.005095, allocations: 3.953 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.005118, allocations: 13.72 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.0052, allocations: 322.8 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.005207, allocations: 0 / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.005215, allocations: 4 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/0.005234, allocations: 9.047 kB / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005236, allocations: 0 / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.869e-05/0.005275, allocations: 37.64 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.005286, allocations: 4 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.005291, allocations: 3.984 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005303, allocations: 0 / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.005362, allocations: 4 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005364, allocations: 0 / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.005378, allocations: 4 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005383, allocations: 8.016 kB / 0.6406 GB, free: 11.13 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 5.358e-05/0.005437, allocations: 113.7 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-06/0.005441, allocations: 4.172 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.00546, allocations: 15.14 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005462, allocations: 0 / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.005464, allocations: 3.938 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.005467, allocations: 0 / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.334e-05/0.00552, allocations: 69.84 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005521, allocations: 0 / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.005535, allocations: 11.98 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005537, allocations: 4 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.005541, allocations: 0 / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005542, allocations: 3.938 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005543, allocations: 0 / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.966e-05/0.005593, allocations: 57.08 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.005599, allocations: 3.984 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-06/0.005605, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.005614, allocations: 4 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.005641, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005643, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.005657, allocations: 16.83 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005657, allocations: 4.031 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.063e-05/0.005747, allocations: 8 kB / 0.6409 GB, free: 10.77 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 8.583e-05/0.005833, allocations: 72.42 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.005887, allocations: 12.8 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005889, allocations: 0 / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.005901, allocations: 8.859 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.678e-05/0.005998, allocations: 7.938 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.006201, allocations: 100.9 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.00623, allocations: 55.34 kB / 0.6411 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.006243, allocations: 0 / 0.6411 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.006283, allocations: 51.38 kB / 0.6412 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of SimCode: time 7.72e-07/0.006284, allocations: 0 / 0.6412 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of Templates: time 0.001881/0.008164, allocations: 423.4 kB / 0.6416 GB, free: 9.996 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3547509661875665]