Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 105.7 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8023/0.8023, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.89 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3726, allocations: 80.91 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002314/0.375, allocations: 1.441 MB / 0.5872 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.3753, allocations: 164 kB / 0.5873 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.3754, allocations: 0 / 0.5873 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.3754, allocations: 1.438 kB / 0.5873 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.3755, allocations: 8.766 kB / 0.5873 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3757, allocations: 29.69 kB / 0.5874 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.3758, allocations: 36.58 kB / 0.5874 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3759, allocations: 29.78 kB / 0.5874 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.376, allocations: 18.61 kB / 0.5874 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.376, allocations: 21.92 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3761, allocations: 5.719 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.3762, allocations: 32.97 kB / 0.5875 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3762, allocations: 14.73 kB / 0.5875 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.3762, allocations: 19.91 kB / 0.5875 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3763, allocations: 64.91 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3763, allocations: 0 / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3764, allocations: 1.938 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3764, allocations: 2.219 kB / 0.5876 GB, free: 24 MB / 446.1 MB 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.0003389/0.3767, allocations: 358.5 kB / 0.5879 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3768, allocations: 11.3 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00094/0.3777, allocations: 212.7 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.3778, allocations: 165.7 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3778, allocations: 3.438 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.3778, allocations: 6.969 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.3783, allocations: 197.2 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3783, allocations: 192 / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3784, allocations: 9.844 kB / 0.5885 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3784, allocations: 5 kB / 0.5885 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.3791, allocations: 278.8 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.3799, allocations: 438 kB / 0.5892 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.381, allocations: 288.8 kB / 0.5895 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.3814, allocations: 101.6 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3814, allocations: 2.219 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3814, allocations: 35.98 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3814, allocations: 0.7188 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001038/0.3825, allocations: 310.8 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3825, allocations: 51.97 kB / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.3826, allocations: 122.5 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3826, allocations: 25.7 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.3826, allocations: 94.45 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3827, allocations: 7.891 kB / 0.5902 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3827, allocations: 17.72 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.3828, allocations: 326.8 kB / 0.5905 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.3831, allocations: 90.66 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.3834, allocations: 91.88 kB / 0.5907 GB, free: 21.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.3839, allocations: 171.7 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3839, allocations: 0 / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006156/0.3845, allocations: 220.2 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3846, allocations: 4 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3846, allocations: 0.9688 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3846, allocations: 0 / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3848, allocations: 37 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3848, allocations: 0 / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.385, allocations: 37.42 kB / 0.5912 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.385, allocations: 0 / 0.5912 GB, free: 20.8 MB / 446.1 MB 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 6.422e-05/0.3851, allocations: 124.4 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3851, allocations: 4.328 kB / 0.5913 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.3852, allocations: 15.09 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3852, allocations: 3.938 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3852, allocations: 3.984 kB / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3852, allocations: 0 / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3854, allocations: 217.5 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3854, allocations: 0 / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3856, allocations: 35.94 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3856, allocations: 1.469 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3856, allocations: 0 / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3856, allocations: 0 / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3857, allocations: 0 / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.3863, allocations: 322.9 kB / 0.5919 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.3863, allocations: 77.11 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3863, allocations: 4 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3865, allocations: 27.11 kB / 0.592 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3866, allocations: 8 kB / 0.592 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3866, allocations: 4.359 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.559e-05/0.3866, allocations: 99.2 kB / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3866, allocations: 0 / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.3869, allocations: 15.91 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB 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.972e-05/0.387, allocations: 96.41 kB / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.3876, allocations: 203.6 kB / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3876, allocations: 0 / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.3879, allocations: 100.6 kB / 0.5925 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3882, allocations: 1.875 kB / 0.5925 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.389, allocations: 255.3 kB / 0.5927 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3891, allocations: 0.6885 MB / 0.5934 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.3892, allocations: 23.73 kB / 0.5934 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.3893, allocations: 7.438 kB / 0.5934 GB, free: 18.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3893, allocations: 0 / 0.5934 GB, free: 18.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002688/0.392, allocations: 0.9389 MB / 0.5943 GB, free: 17.46 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)