Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.03976/0.03976, allocations: 9.132 MB / 28.99 MB, free: 0.8203 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.0008561/0.0008561, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.0009805/0.0009805, allocations: 164.8 kB / 38.73 MB, free: 2.492 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.9279/0.9279, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004901/0.004901, allocations: 0.8248 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.691/1.691, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.262e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Min): time 0.001868/0.00189, allocations: 0.7758 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003098, allocations: 0.9169 MB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.003154, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.003193, allocations: 3.938 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.0033, allocations: 11.88 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003506, allocations: 39.89 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003628, allocations: 87.75 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.003727, allocations: 23.92 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.003855, allocations: 55.88 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.003936, allocations: 35.95 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.003967, allocations: 8 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.003981, allocations: 8 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.004012, allocations: 19.91 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.004047, allocations: 27.91 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.004172, allocations: 63.73 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004174, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004175, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004179, allocations: 0 / 0.6399 GB, free: 12.02 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004409/0.00462, allocations: 288.7 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.004667, allocations: 11.98 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.00471, allocations: 8.938 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.004824, allocations: 121.7 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.004846, allocations: 8.375 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.004866, allocations: 8.359 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.005059, allocations: 90.83 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.005068, allocations: 3.938 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.005081, allocations: 11.94 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005089, allocations: 4 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.00515, allocations: 15.98 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.005515, allocations: 196.2 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.005828, allocations: 66.45 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.005865, allocations: 12.86 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.005887, allocations: 7.984 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.005912, allocations: 38.56 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.005914, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001881/0.006102, allocations: 65.84 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.006141, allocations: 55.39 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.00622, allocations: 122.7 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.006238, allocations: 29.7 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.006284, allocations: 96.06 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.00631, allocations: 19.8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.006357, allocations: 25.69 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.006459, allocations: 318.8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.006493, allocations: 7.984 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.006525, allocations: 16.05 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.006593, allocations: 28.83 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.006598, allocations: 7.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000113/0.006711, allocations: 57.61 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.006723, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006727, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.006743, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.006848, allocations: 23.98 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006851, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.006902, allocations: 7.984 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.006911, allocations: 3.938 kB / 0.6416 GB, free: 10.11 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.828e-05/0.006989, allocations: 117.8 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.00702, allocations: 4 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.007169, allocations: 78 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.007171, allocations: 4 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007173, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007176, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.007334, allocations: 97.77 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007335, allocations: 0 / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.00743, allocations: 23.97 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.007434, allocations: 3.938 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.007441, allocations: 0 / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007443, allocations: 0 / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007444, allocations: 0 / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.007592, allocations: 155.5 kB / 0.642 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.007605, allocations: 11.94 kB / 0.6421 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007622, allocations: 7.984 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.007705, allocations: 4 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.007773, allocations: 19.97 kB / 0.6421 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.00778, allocations: 4 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.007805, allocations: 20.84 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1e-07/0.007805, allocations: 0 / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002344/0.008039, allocations: 15.95 kB / 0.6421 GB, free: 9.496 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.983e-05/0.008139, allocations: 84.41 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.008256, allocations: 44.77 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.008259, allocations: 0 / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.008314, allocations: 25.39 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.008525, allocations: 15.98 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.008875, allocations: 165 kB / 0.6424 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.00892, allocations: 63.34 kB / 0.6425 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.023e-05/0.00898, allocations: 8 kB / 0.6425 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.009091, allocations: 71.36 kB / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of SimCode: time 7.01e-07/0.009092, allocations: 0 / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of Templates: time 0.004426/0.01352, allocations: 1.706 MB / 0.6443 GB, free: 7.258 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.342407746706158]