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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009337, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006738/0.006739, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7154/0.7154, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3674, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001415/0.3688, allocations: 1.188 MB / 0.5849 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.3692, allocations: 145.2 kB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.3693, allocations: 0 / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.3693, allocations: 5.609 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.3694, allocations: 5.938 kB / 0.5851 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3696, allocations: 23.12 kB / 0.5851 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.3697, allocations: 38.08 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3698, allocations: 28.58 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.3698, allocations: 10.8 kB / 0.5852 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.3699, allocations: 15.73 kB / 0.5852 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3699, allocations: 2.156 kB / 0.5852 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.37, allocations: 29.34 kB / 0.5852 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.37, allocations: 3.688 kB / 0.5852 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.37, allocations: 42.92 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3702, allocations: 58.09 kB / 0.5853 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3702, allocations: 1.219 kB / 0.5853 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3702, allocations: 0 / 0.5853 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3702, allocations: 0 / 0.5853 GB, free: 2.953 MB / 430.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.0003607/0.3706, allocations: 368.8 kB / 0.5856 GB, free: 2.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3706, allocations: 9.406 kB / 0.5857 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.3706, allocations: 37.44 kB / 0.5857 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3718, allocations: 244.4 kB / 0.5859 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.3719, allocations: 172.6 kB / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3719, allocations: 5.812 kB / 0.5861 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3719, allocations: 3.875 kB / 0.5861 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.3726, allocations: 220 kB / 0.5863 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3726, allocations: 3.938 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3726, allocations: 0.9688 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3726, allocations: 1.281 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.3736, allocations: 318.5 kB / 0.5866 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3747, allocations: 457.9 kB / 0.5871 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.376, allocations: 339.2 kB / 0.5874 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.3764, allocations: 122.5 kB / 0.5875 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3764, allocations: 2.25 kB / 0.5875 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3765, allocations: 35.19 kB / 0.5875 GB, free: 1.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/0.3765, allocations: 0 / 0.5875 GB, free: 1.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.00135/0.3778, allocations: 365.7 kB / 0.5879 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3779, allocations: 52.47 kB / 0.5879 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.378, allocations: 126 kB / 0.5881 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.378, allocations: 27.19 kB / 0.5881 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.378, allocations: 88.12 kB / 0.5882 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.378, allocations: 13.75 kB / 0.5882 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.3781, allocations: 10.38 kB / 0.5882 GB, free: 1.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.3781, allocations: 319.5 kB / 0.5885 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.3785, allocations: 115.8 kB / 0.5886 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.3789, allocations: 112.8 kB / 0.5887 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.3797, allocations: 215.1 kB / 0.5889 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3797, allocations: 1.094 kB / 0.5889 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008818/0.3806, allocations: 253 kB / 0.5892 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3807, allocations: 13.75 kB / 0.5892 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3807, allocations: 0 / 0.5892 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3807, allocations: 0.75 kB / 0.5892 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.381, allocations: 41.47 kB / 0.5892 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.381, allocations: 0.5625 kB / 0.5892 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3812, allocations: 40.84 kB / 0.5892 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3812, allocations: 1.359 kB / 0.5892 GB, free: 0.8594 MB / 430.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 7.091e-05/0.3813, allocations: 122.1 kB / 0.5894 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3813, allocations: 6.219 kB / 0.5894 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.3814, allocations: 11.73 kB / 0.5894 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3814, allocations: 5.203 kB / 0.5894 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3814, allocations: 0.75 kB / 0.5894 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3814, allocations: 1.656 kB / 0.5894 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3816, allocations: 216 kB / 0.5896 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3816, allocations: 3.984 kB / 0.5896 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.3819, allocations: 41.55 kB / 0.5896 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3819, allocations: 5.031 kB / 0.5896 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3819, allocations: 6.188 kB / 0.5896 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3819, allocations: 3.984 kB / 0.5897 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3819, allocations: 0.6562 kB / 0.5897 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.3828, allocations: 357.8 kB / 0.59 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3828, allocations: 79.02 kB / 0.5901 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3828, allocations: 1.578 kB / 0.5901 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3831, allocations: 35.38 kB / 0.5901 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3831, allocations: 6.219 kB / 0.5901 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3832, allocations: 4.391 kB / 0.5901 GB, free: 220 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.3832, allocations: 99.91 kB / 0.5902 GB, free: 132 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3832, allocations: 0 / 0.5902 GB, free: 132 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3835, allocations: 16.72 kB / 0.5902 GB, free: 128 kB / 430.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 0.001199/0.3847, allocations: 0.874 MB / 0.5911 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.3856, allocations: 235.5 kB / 0.5913 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3856, allocations: 0 / 0.5913 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.386, allocations: 120.6 kB / 0.5914 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3863, allocations: 6.453 kB / 0.5914 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3901, allocations: 1.965 MB / 0.5933 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3903, allocations: 0.69 MB / 0.594 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.3904, allocations: 16.78 kB / 0.594 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3905, allocations: 25.19 kB / 0.5941 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3905, allocations: 0 / 0.5941 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09598/0.4865, allocations: 1.648 MB / 0.5957 GB, free: 12.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.4868, allocations: 176.6 kB / 0.5958 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.294, allocations: 0 / 0.5958 GB, free: 12.64 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)