Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.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.04181/0.04181, allocations: 9.133 MB / 28.99 MB, free: 0.8164 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.0008571/0.0008571, allocations: 94.38 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.001193/0.001193, allocations: 171.6 kB / 38.73 MB, free: 2.512 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.9174/0.9174, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004061/0.004061, allocations: 0.8265 MB / 276.5 MB, free: 0.7539 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.669/1.669, 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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.672e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Min): time 0.00481/0.004836, allocations: 0.7029 MB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.005823, allocations: 0.847 MB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.005858, allocations: 3.938 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.005884, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.005956, allocations: 19.86 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 9.484e-05/0.006051, allocations: 11.98 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.006129, allocations: 51.84 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.006211, allocations: 7.984 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.006301, allocations: 23.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.006346, allocations: 11.98 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.006368, allocations: 4 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.00638, allocations: 4 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.006401, allocations: 11.92 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.006423, allocations: 11.98 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.006509, allocations: 31.91 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006511, allocations: 4 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006512, allocations: 4 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.006516, allocations: 3.938 kB / 0.6396 GB, free: 12.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003243/0.006841, allocations: 256.8 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.006876, allocations: 11.98 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.006906, allocations: 8.922 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.007005, allocations: 113.7 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.007016, allocations: 384 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.007027, allocations: 384 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007172, allocations: 66.94 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.007179, allocations: 4.188 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.007186, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007191, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.007219, allocations: 11.92 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.007448, allocations: 152.2 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.007511, allocations: 26.56 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.007531, allocations: 8.859 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.007545, allocations: 0 / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.007569, allocations: 34.56 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.00757, allocations: 0 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001334/0.007703, allocations: 53.72 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.007735, allocations: 51.41 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.007805, allocations: 118.7 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.007817, allocations: 25.7 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.007851, allocations: 88.11 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.007871, allocations: 11.91 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.007905, allocations: 21.72 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.008005, allocations: 314.8 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.008082, allocations: 4 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.008107, allocations: 3.984 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.008155, allocations: 16.8 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.008158, allocations: 4 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.194e-05/0.00823, allocations: 37.69 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008244, allocations: 4 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00825, allocations: 4 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.008264, allocations: 3.938 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.008362, allocations: 11.98 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.008365, allocations: 3.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.008393, allocations: 7.984 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008399, allocations: 336 / 0.641 GB, free: 10.69 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 (3): * Single equations (assignments): 3 * 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.692e-05/0.008456, allocations: 109.8 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.008471, allocations: 8 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.00855, allocations: 53.59 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008553, allocations: 3.938 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.008555, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.008557, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.008681, allocations: 77.83 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.008682, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.008717, allocations: 12 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.008718, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.008722, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008724, allocations: 8 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008725, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.008804, allocations: 147.4 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.008813, allocations: 3.953 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.00882, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.008872, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.008907, allocations: 11.98 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.00891, allocations: 3.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.463e-05/0.008925, allocations: 12.84 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.008925, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000113/0.009038, allocations: 12 kB / 0.6415 GB, free: 10.18 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 (3): * Single equations (assignments): 3 * 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.882e-05/0.009137, allocations: 72.42 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.389e-05/0.00919, allocations: 12.86 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.009193, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.009214, allocations: 24.78 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.009356, allocations: 4 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.00959, allocations: 132.4 kB / 0.6417 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.009622, allocations: 59.3 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.00964, allocations: 0 / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.009693, allocations: 59.36 kB / 0.6418 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of SimCode: time 3.71e-07/0.009694, allocations: 0 / 0.6418 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of Templates: time 0.002041/0.01173, allocations: 0.6764 MB / 0.6425 GB, free: 9.082 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.366565344855189]