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.001131/0.001131, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001513/0.001513, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9528/0.9528, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 8.219 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 82.3 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002134/0.2011, allocations: 1.173 MB / 0.5885 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.2015, allocations: 136.5 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.2015, allocations: 0 / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.2016, allocations: 0 / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.2017, allocations: 7.938 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2019, allocations: 23.95 kB / 0.5887 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.202, allocations: 39.86 kB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2021, allocations: 15.98 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.2022, allocations: 12 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.2023, allocations: 19.86 kB / 0.5888 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2023, allocations: 0 / 0.5888 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.2024, allocations: 27.97 kB / 0.5888 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2024, allocations: 7.984 kB / 0.5888 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.2024, allocations: 33.7 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2025, allocations: 43.92 kB / 0.5889 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2026, allocations: 0 / 0.5889 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2026, allocations: 0 / 0.5889 GB, free: 1.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2026, allocations: 0 / 0.5889 GB, free: 1.469 MB / 494.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.0005475/0.2031, allocations: 357.4 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2032, allocations: 11.97 kB / 0.5892 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.2043, allocations: 251.5 kB / 0.5895 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2045, allocations: 171 kB / 0.5896 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2045, allocations: 4 kB / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2046, allocations: 0 / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.2052, allocations: 221.4 kB / 0.5898 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2052, allocations: 0 / 0.5898 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2052, allocations: 0 / 0.5898 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2052, allocations: 0 / 0.5898 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.2061, allocations: 323.6 kB / 0.5901 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009883/0.2071, allocations: 457.3 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2081, allocations: 338.2 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.2085, allocations: 120.8 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2085, allocations: 4 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2086, allocations: 34.5 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.2086, allocations: 3.938 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001193/0.2098, allocations: 377.2 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2098, allocations: 51.41 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2099, allocations: 118 kB / 0.5916 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.21, allocations: 25.7 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2101, allocations: 84.14 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2101, allocations: 15.83 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.2101, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.2104, allocations: 314.8 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.2108, allocations: 111.9 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.2111, allocations: 119.8 kB / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.2115, allocations: 107.9 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2115, allocations: 0 / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007056/0.2122, allocations: 253.4 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2122, allocations: 10.12 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2122, allocations: 4 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2122, allocations: 0 / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2125, allocations: 43.91 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2125, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.2127, allocations: 39.94 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2127, allocations: 4 kB / 0.5927 GB, free: 13.35 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2128, allocations: 117.8 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2129, allocations: 3.906 kB / 0.5928 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.2129, allocations: 11.89 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2129, allocations: 0 / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2129, allocations: 7.891 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.213, allocations: 336 / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.2132, allocations: 205.6 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2132, allocations: 0 / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.2134, allocations: 43.95 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2134, allocations: 0 / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2135, allocations: 11.97 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2135, allocations: 384 / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2135, allocations: 3.953 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.2143, allocations: 343.3 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.2144, allocations: 89.02 kB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2144, allocations: 7.938 kB / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2147, allocations: 35.95 kB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2147, allocations: 7.984 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2147, allocations: 3.953 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.2148, allocations: 99.2 kB / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2148, allocations: 0 / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002496/0.2151, allocations: 16 kB / 0.5936 GB, free: 12.26 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000119/0.2152, allocations: 95.25 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.216, allocations: 231.7 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.216, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.2164, allocations: 115.9 kB / 0.594 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2167, allocations: 19.31 kB / 0.5941 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.2176, allocations: 296.7 kB / 0.5944 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2179, allocations: 0.6848 MB / 0.595 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.761e-05/0.2181, allocations: 23.98 kB / 0.595 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.2181, allocations: 15.42 kB / 0.5951 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2181, allocations: 0 / 0.5951 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.00346/0.2216, allocations: 0.7961 MB / 0.5958 GB, free: 9.945 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)