Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.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.04881/0.04881, allocations: 9.13 MB / 28.99 MB, free: 324 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.001072/0.001072, allocations: 95.27 kB / 35.33 MB, free: 0.918 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.001242/0.001242, allocations: 163.3 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.9934/0.9934, 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.004239/0.004239, allocations: 0.8147 MB / 276.5 MB, free: 0.7383 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.762/1.762, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.122e-05, allocations: 2.312 kB / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.002004/0.002035, allocations: 0.9094 MB / 0.6389 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003285, allocations: 0.9365 MB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.003377, allocations: 7.938 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.003414, allocations: 7.875 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.003503, allocations: 11.81 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.003698, allocations: 71.83 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003875, allocations: 131.7 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.004019, allocations: 46.3 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.004152, allocations: 75.86 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.004211, allocations: 43.81 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.004236, allocations: 16 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.004251, allocations: 15.94 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.004277, allocations: 35.89 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.004309, allocations: 35.91 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.004425, allocations: 91.62 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004427, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004429, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004432, allocations: 0 / 0.6403 GB, free: 11.59 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004064/0.004839, allocations: 344.4 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.004882, allocations: 15.98 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.004922, allocations: 20.92 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005096, allocations: 145.5 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.005108, allocations: 8.375 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.005123, allocations: 20.31 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.005322, allocations: 207.9 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005329, allocations: 4.188 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.00534, allocations: 8.375 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005346, allocations: 4.375 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.005394, allocations: 35.92 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.005778, allocations: 295.8 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.005853, allocations: 54.48 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.005879, allocations: 16.86 kB / 0.6415 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.005896, allocations: 0 / 0.6415 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.005916, allocations: 38.56 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.005917, allocations: 0 / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001486/0.006065, allocations: 77.73 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.006089, allocations: 55.34 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.006165, allocations: 134.7 kB / 0.6418 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006176, allocations: 25.7 kB / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.006227, allocations: 127.8 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.006246, allocations: 35.69 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.006279, allocations: 25.7 kB / 0.642 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.006349, allocations: 322.8 kB / 0.6423 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.006369, allocations: 12 kB / 0.6423 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.006388, allocations: 8 kB / 0.6423 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.006444, allocations: 57 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006446, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.724e-05/0.006523, allocations: 65.67 kB / 0.6424 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.006534, allocations: 4 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006538, allocations: 0 / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006549, allocations: 4 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.006644, allocations: 27.92 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006647, allocations: 0 / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.00668, allocations: 19.88 kB / 0.6425 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.006686, allocations: 11.94 kB / 0.6425 GB, free: 9.227 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 (13): * Single equations (assignments): 13 * 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.898e-05/0.006745, allocations: 113.8 kB / 0.6426 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.006765, allocations: 7.984 kB / 0.6426 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.006876, allocations: 78.38 kB / 0.6427 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.006879, allocations: 4 kB / 0.6427 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006882, allocations: 7.875 kB / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.006886, allocations: 3.984 kB / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.007125, allocations: 261.2 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007127, allocations: 4.094 kB / 0.6429 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.007186, allocations: 27.92 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.00719, allocations: 4 kB / 0.643 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.007196, allocations: 3.938 kB / 0.643 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007198, allocations: 0 / 0.643 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.007201, allocations: 4 kB / 0.643 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.007316, allocations: 178 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.007328, allocations: 11.95 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.00734, allocations: 7.922 kB / 0.6432 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.007391, allocations: 8 kB / 0.6432 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.007423, allocations: 11.98 kB / 0.6432 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.007428, allocations: 4 kB / 0.6432 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.007454, allocations: 33.36 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007454, allocations: 0 / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001289/0.007583, allocations: 31.89 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001191/0.007702, allocations: 84.34 kB / 0.6433 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.007787, allocations: 44.78 kB / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.007791, allocations: 0 / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.007821, allocations: 32.78 kB / 0.6434 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.008001, allocations: 16 kB / 0.6434 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.008325, allocations: 248 kB / 0.6436 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.008361, allocations: 67.33 kB / 0.6437 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.008391, allocations: 8.5 kB / 0.6437 GB, free: 7.801 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.008455, allocations: 67.36 kB / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of SimCode: time 7.21e-07/0.008455, allocations: 4.188 kB / 0.6438 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of Templates: time 0.00268/0.01114, allocations: 1.004 MB / 0.6448 GB, free: 6.73 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5768162230961025]