Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001314/0.001314, allocations: 103.9 kB / 16.36 MB, free: 6.336 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.001044/0.001044, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8017/0.8017, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4021, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002369/0.4045, allocations: 1.453 MB / 0.5829 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003402/0.4048, allocations: 150.2 kB / 0.583 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.4049, allocations: 0 / 0.583 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.4049, allocations: 3.938 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.405, allocations: 6.875 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.4052, allocations: 33.2 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.4053, allocations: 39.78 kB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4054, allocations: 22.86 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.4055, allocations: 18.09 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.4055, allocations: 22.5 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.4056, allocations: 4.625 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.4057, allocations: 32.75 kB / 0.5832 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.4057, allocations: 15.39 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.4057, allocations: 15.56 kB / 0.5833 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.4058, allocations: 69.06 kB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4058, allocations: 2.312 kB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4059, allocations: 0 / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4059, allocations: 0 / 0.5833 GB, free: 26.19 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.0003945/0.4063, allocations: 359.4 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4063, allocations: 10.09 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.4073, allocations: 215.1 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.4074, allocations: 168.4 kB / 0.584 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4074, allocations: 1.625 kB / 0.584 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4075, allocations: 3.875 kB / 0.584 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.408, allocations: 195.5 kB / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.408, allocations: 192 / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.408, allocations: 5.938 kB / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.408, allocations: 1.375 kB / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.4088, allocations: 285.8 kB / 0.5845 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.4096, allocations: 446.3 kB / 0.5849 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.4106, allocations: 284.5 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.4109, allocations: 114.6 kB / 0.5853 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4109, allocations: 2.062 kB / 0.5853 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4109, allocations: 32.53 kB / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.411, allocations: 0 / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001005/0.412, allocations: 314.7 kB / 0.5857 GB, free: 24.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.412, allocations: 55.34 kB / 0.5857 GB, free: 24.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.4121, allocations: 118.2 kB / 0.5858 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4121, allocations: 27.55 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.4121, allocations: 86.89 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.4122, allocations: 9.359 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.4122, allocations: 23.88 kB / 0.586 GB, free: 24.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4123, allocations: 321 kB / 0.5863 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.4126, allocations: 94.94 kB / 0.5864 GB, free: 23.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.4129, allocations: 92.81 kB / 0.5864 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.4135, allocations: 171.2 kB / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4135, allocations: 0 / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006311/0.4141, allocations: 214.2 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4141, allocations: 7.969 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4141, allocations: 0 / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4142, allocations: 2.719 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4144, allocations: 42.78 kB / 0.5869 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4144, allocations: 5.672 kB / 0.5869 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4146, allocations: 26.33 kB / 0.5869 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4146, allocations: 3.094 kB / 0.5869 GB, free: 23.44 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.023e-05/0.4147, allocations: 123.8 kB / 0.587 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.4147, allocations: 1.344 kB / 0.587 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.4148, allocations: 7.406 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4148, allocations: 0 / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4148, allocations: 5.906 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4148, allocations: 0.6562 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.415, allocations: 220.7 kB / 0.5872 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.415, allocations: 0.5625 kB / 0.5872 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4152, allocations: 35.94 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4152, allocations: 0 / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4152, allocations: 7.25 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4152, allocations: 1.188 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4152, allocations: 0 / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.4159, allocations: 318.2 kB / 0.5876 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.4159, allocations: 82.3 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4159, allocations: 3.094 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4161, allocations: 25.64 kB / 0.5877 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4162, allocations: 5.656 kB / 0.5877 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4162, allocations: 5.641 kB / 0.5877 GB, free: 22.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.4162, allocations: 98.73 kB / 0.5878 GB, free: 22.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 0.5878 GB, free: 22.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00024/0.4165, allocations: 12.5 kB / 0.5878 GB, free: 22.61 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.741e-05/0.4166, allocations: 99.62 kB / 0.5879 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.4173, allocations: 192.2 kB / 0.5881 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4173, allocations: 1.719 kB / 0.5881 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4176, allocations: 111 kB / 0.5882 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.4179, allocations: 12.73 kB / 0.5882 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.4187, allocations: 254.4 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4188, allocations: 0.6886 MB / 0.5891 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.918e-05/0.4189, allocations: 20.7 kB / 0.5891 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.419, allocations: 13.16 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.419, allocations: 0 / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002896/0.4219, allocations: 0.9229 MB / 0.5901 GB, free: 21.02 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)