Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.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.04862/0.04862, allocations: 9.133 MB / 28.99 MB, free: 312 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.001235/0.001235, allocations: 95.14 kB / 35.33 MB, free: 0.9102 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.001148/0.001148, allocations: 162.6 kB / 38.73 MB, free: 2.387 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.056/1.056, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.003932/0.003932, allocations: 0.8257 MB / 276.5 MB, free: 0.7617 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.767/1.767, 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.237e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002468/0.002501, allocations: 0.7228 MB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003744, allocations: 0.8585 MB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.003783, allocations: 0 / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.003815, allocations: 0 / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.003897, allocations: 7.922 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.004092, allocations: 11.98 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.004175, allocations: 23.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004276, allocations: 4 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004377, allocations: 19.98 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.004421, allocations: 11.92 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004437, allocations: 0 / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.004506, allocations: 7.938 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.004526, allocations: 11.98 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.004542, allocations: 0 / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.004648, allocations: 19.97 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.004653, allocations: 4 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004655, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004659, allocations: 3.938 kB / 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003551/0.005015, allocations: 229 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.005063, allocations: 15.98 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.005184, allocations: 4.938 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.005297, allocations: 121.6 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.005309, allocations: 4.375 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.005316, allocations: 384 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.005441, allocations: 54.94 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.005451, allocations: 192 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005459, allocations: 384 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.005467, allocations: 384 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.005499, allocations: 7.938 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.005761, allocations: 152.2 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.00589, allocations: 18.58 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.005922, allocations: 8.922 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.005946, allocations: 4.031 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.00597, allocations: 30.56 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.005972, allocations: 0 / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.006091, allocations: 37.64 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.006123, allocations: 59.34 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.006184, allocations: 106.7 kB / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006195, allocations: 29.83 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.006228, allocations: 84.14 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.006247, allocations: 3.953 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.006276, allocations: 21.7 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.00636, allocations: 318.8 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.006369, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.006378, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.006404, allocations: 8.859 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006405, allocations: 4 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.483e-05/0.00645, allocations: 37.69 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.006465, allocations: 12.03 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.00647, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.006485, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.00657, allocations: 7.938 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006573, allocations: 3.938 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.006594, allocations: 7.984 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.006598, allocations: 0 / 0.641 GB, free: 10.79 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 (2): * Single equations (assignments): 2 * 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.337e-05/0.006662, allocations: 109.8 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.006679, allocations: 8 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.006752, allocations: 41 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006754, allocations: 3.938 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.006756, allocations: 3.938 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00676, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.006854, allocations: 69.88 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006855, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.006881, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006882, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.006886, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006888, allocations: 3.984 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006889, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.654e-05/0.006965, allocations: 143.5 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.006971, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.006979, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.00701, allocations: 7.984 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.007037, allocations: 192 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.007039, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.384e-05/0.007053, allocations: 20.72 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007053, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000117/0.00717, allocations: 4 kB / 0.6414 GB, free: 10.32 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 (2): * Single equations (assignments): 2 * 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.0001077/0.007278, allocations: 80.44 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.779e-05/0.007336, allocations: 16.86 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.007339, allocations: 0 / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.007354, allocations: 8.859 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.007513, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.007746, allocations: 104.6 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.007782, allocations: 63.41 kB / 0.6416 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.713e-05/0.007799, allocations: 4 kB / 0.6416 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.007845, allocations: 51.38 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of SimCode: time 7.22e-07/0.007845, allocations: 0 / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of Templates: time 0.00191/0.009755, allocations: 456.6 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.444741057232022]