Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothMin.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.04272/0.04272, allocations: 9.129 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.0007389/0.0007389, 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.001028/0.001028, allocations: 164.7 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.9617/0.9617, 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.006959/0.006959, allocations: 0.8224 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.754/1.754, 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.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") translateModel(AixLib.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.527e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothMin): time 0.00239/0.002416, allocations: 1.581 MB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.002782, allocations: 151.3 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.002821, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.002869, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.002943, allocations: 3.938 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.003154, allocations: 39.83 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.967e-05/0.003254, allocations: 47.84 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003363, allocations: 8 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.003423, allocations: 27.91 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.003462, allocations: 15.98 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003477, allocations: 4 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.321e-05/0.00357, allocations: 35.97 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.003585, allocations: 11.92 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.003603, allocations: 11.98 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003719, allocations: 59.8 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003721, allocations: 4 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003722, allocations: 0 / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003726, allocations: 0 / 0.6398 GB, free: 12.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002749/0.004001, allocations: 248.9 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004035, allocations: 11.98 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.004382, allocations: 80.81 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.004467, allocations: 121.6 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.004476, allocations: 384 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004488, allocations: 8.375 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.004667, allocations: 102.9 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004674, allocations: 192 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004685, allocations: 384 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004689, allocations: 384 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.802e-05/0.004747, allocations: 27.94 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.005103, allocations: 220.1 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.005277, allocations: 62.53 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.005306, allocations: 16.84 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.005326, allocations: 4 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.005343, allocations: 30.56 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005344, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001411/0.005485, allocations: 65.69 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.005512, allocations: 51.41 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.005561, allocations: 110.8 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005572, allocations: 25.7 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.005605, allocations: 104 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.005625, allocations: 7.906 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.005659, allocations: 13.72 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.005744, allocations: 322.8 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.00577, allocations: 4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.005792, allocations: 8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.005839, allocations: 28.78 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005841, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.942e-05/0.005921, allocations: 49.69 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.00594, allocations: 7.938 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005944, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.005959, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.006061, allocations: 19.97 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006064, allocations: 0 / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.006111, allocations: 15.98 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.00612, allocations: 7.984 kB / 0.6415 GB, free: 10.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 (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.539e-05/0.006175, allocations: 109.8 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.006195, allocations: 0 / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.006223, allocations: 15.94 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006224, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006226, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006229, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.00633, allocations: 81.86 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00633, allocations: 7.938 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.006395, allocations: 23.97 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006396, allocations: 0 / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.006404, allocations: 0 / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006405, allocations: 0 / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006407, allocations: 3.938 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.006519, allocations: 139.5 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.006529, allocations: 11.94 kB / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.006539, allocations: 0 / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.006605, allocations: 11.98 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.006635, allocations: 7.938 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.006642, allocations: 7.984 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.006654, allocations: 12.8 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006654, allocations: 0 / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001311/0.006785, allocations: 15.94 kB / 0.642 GB, free: 9.645 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.97e-05/0.006885, allocations: 80.36 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.006976, allocations: 24.84 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.006978, allocations: 0 / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.007013, allocations: 20.84 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.007157, allocations: 8 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.007501, allocations: 160.9 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.007536, allocations: 59.34 kB / 0.6423 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.007584, allocations: 8 kB / 0.6423 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.007654, allocations: 55.36 kB / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of SimCode: time 9.12e-07/0.007655, allocations: 0 / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of Templates: time 0.00251/0.01016, allocations: 0.9644 MB / 0.6433 GB, free: 8.211 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothMin.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2903490900062025]