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.00145/0.00145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001566/0.001566, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6998/0.6998, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.16 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1406, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002305/0.1429, allocations: 1.524 MB / 0.5812 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.1432, allocations: 140.4 kB / 0.5813 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.1433, allocations: 7.938 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.1433, allocations: 0 / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.1434, allocations: 3.938 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1436, allocations: 27.97 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.1437, allocations: 39.91 kB / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1438, allocations: 16 kB / 0.5814 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.1438, allocations: 23.86 kB / 0.5814 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.1439, allocations: 23.92 kB / 0.5814 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1439, allocations: 4 kB / 0.5814 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.144, allocations: 35.97 kB / 0.5815 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.144, allocations: 11.92 kB / 0.5815 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.144, allocations: 23.86 kB / 0.5815 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1441, allocations: 55.86 kB / 0.5816 GB, free: 7.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1441, allocations: 0 / 0.5816 GB, free: 7.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1441, allocations: 0 / 0.5816 GB, free: 7.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1441, allocations: 0 / 0.5816 GB, free: 7.074 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.0003888/0.1445, allocations: 371.6 kB / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1446, allocations: 12.03 kB / 0.5819 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.1446, allocations: 30.75 kB / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.1457, allocations: 212.5 kB / 0.5822 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.309e-05/0.1458, allocations: 168.2 kB / 0.5823 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1458, allocations: 8.375 kB / 0.5823 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1458, allocations: 4.375 kB / 0.5823 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.1464, allocations: 194 kB / 0.5825 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1464, allocations: 3.938 kB / 0.5825 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1464, allocations: 4 kB / 0.5825 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1464, allocations: 0 / 0.5825 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.1472, allocations: 279.6 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.1481, allocations: 445 kB / 0.5832 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1492, allocations: 286.1 kB / 0.5835 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.1495, allocations: 104.8 kB / 0.5836 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1495, allocations: 4.062 kB / 0.5836 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1496, allocations: 30.56 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1496, allocations: 0 / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001121/0.1507, allocations: 305.3 kB / 0.5839 GB, free: 4.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1507, allocations: 59.34 kB / 0.584 GB, free: 4.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.1508, allocations: 125.8 kB / 0.5841 GB, free: 4.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1508, allocations: 25.7 kB / 0.5841 GB, free: 4.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1509, allocations: 92.05 kB / 0.5842 GB, free: 4.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1509, allocations: 7.844 kB / 0.5842 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.151, allocations: 21.7 kB / 0.5842 GB, free: 4.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.1511, allocations: 318.8 kB / 0.5845 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.1514, allocations: 99.88 kB / 0.5846 GB, free: 3.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.1518, allocations: 95.86 kB / 0.5847 GB, free: 3.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.1524, allocations: 168.6 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1524, allocations: 0 / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007154/0.1532, allocations: 225.6 kB / 0.5851 GB, free: 3.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1532, allocations: 4 kB / 0.5851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1532, allocations: 8 kB / 0.5851 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1532, allocations: 0 / 0.5851 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.1534, allocations: 31.94 kB / 0.5851 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1535, allocations: 0 / 0.5851 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1537, allocations: 27.95 kB / 0.5852 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1537, allocations: 4 kB / 0.5852 GB, free: 3.141 MB / 494.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 8.172e-05/0.1538, allocations: 126.4 kB / 0.5853 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1538, allocations: 0 / 0.5853 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1538, allocations: 11.91 kB / 0.5853 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1538, allocations: 0 / 0.5853 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1539, allocations: 0 / 0.5853 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1539, allocations: 0 / 0.5853 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1541, allocations: 209.5 kB / 0.5855 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1541, allocations: 0 / 0.5855 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.1543, allocations: 47.94 kB / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1543, allocations: 0 / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1543, allocations: 0 / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1543, allocations: 0 / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1544, allocations: 0 / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.1551, allocations: 319.1 kB / 0.5859 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1551, allocations: 89 kB / 0.5859 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1552, allocations: 0 / 0.5859 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1554, allocations: 23.95 kB / 0.586 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1554, allocations: 4 kB / 0.586 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1554, allocations: 4 kB / 0.586 GB, free: 2.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.1555, allocations: 103.6 kB / 0.5861 GB, free: 2.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1555, allocations: 0 / 0.5861 GB, free: 2.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1557, allocations: 15.94 kB / 0.5861 GB, free: 2.109 MB / 494.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.0009613/0.1567, allocations: 0.8372 MB / 0.5869 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.1574, allocations: 195.7 kB / 0.5871 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1574, allocations: 4 kB / 0.5871 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.1578, allocations: 95.88 kB / 0.5872 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.158, allocations: 10.67 kB / 0.5872 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.1612, allocations: 1.845 MB / 0.589 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.1615, allocations: 0.6959 MB / 0.5897 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.1616, allocations: 23.89 kB / 0.5897 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1616, allocations: 19.42 kB / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1616, allocations: 0 / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/0.3536, allocations: 1.775 MB / 0.5914 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.3539, allocations: 172.4 kB / 0.5916 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.405, allocations: 12 kB / 0.5916 GB, free: 12.33 MB / 0.4981 GB (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)