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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_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.0007976/0.0007976, allocations: 91.84 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.00562/0.005621, allocations: 170 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9675/0.9675, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 12.61 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001465/0.1568, allocations: 1.185 MB / 0.5892 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.1572, allocations: 144.4 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.1573, allocations: 0 / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.1573, allocations: 0 / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.1574, allocations: 11.92 kB / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1576, allocations: 23.92 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.1577, allocations: 43.91 kB / 0.5894 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1578, allocations: 19.98 kB / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.1578, allocations: 11.94 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.1579, allocations: 11.92 kB / 0.5895 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1579, allocations: 4 kB / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.158, allocations: 31.97 kB / 0.5895 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.158, allocations: 3.938 kB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.158, allocations: 53.55 kB / 0.5896 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1582, allocations: 55.86 kB / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1582, allocations: 0 / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1582, allocations: 0 / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1582, allocations: 0 / 0.5896 GB, free: 0.8945 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.0004213/0.1586, allocations: 351.7 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1587, allocations: 12.03 kB / 0.59 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.1587, allocations: 34.75 kB / 0.59 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1598, allocations: 248.5 kB / 0.5902 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1599, allocations: 172.3 kB / 0.5904 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.16, allocations: 8.359 kB / 0.5904 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.16, allocations: 8.312 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.1605, allocations: 214 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1606, allocations: 7.938 kB / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1606, allocations: 0 / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1606, allocations: 0 / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.1614, allocations: 315.6 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.1623, allocations: 457.2 kB / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.1637, allocations: 350.1 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.1641, allocations: 116.8 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1641, allocations: 3.984 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1642, allocations: 38.56 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.1642, allocations: 3.984 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001236/0.1654, allocations: 365.3 kB / 0.5922 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1655, allocations: 55.41 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.1656, allocations: 113.8 kB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1656, allocations: 29.7 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1657, allocations: 88.12 kB / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1657, allocations: 15.75 kB / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1657, allocations: 9.719 kB / 0.5925 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1659, allocations: 322.8 kB / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.1663, allocations: 107.9 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.1666, allocations: 119.9 kB / 0.593 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.1673, allocations: 208.6 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1673, allocations: 0 / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007667/0.1681, allocations: 257.4 kB / 0.5935 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1681, allocations: 4 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1681, allocations: 0 / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1682, allocations: 0 / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.1684, allocations: 47.94 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1684, allocations: 0 / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1686, allocations: 35.95 kB / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1687, allocations: 0 / 0.5936 GB, free: 12.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.1688, allocations: 126.1 kB / 0.5937 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1688, allocations: 7.906 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1688, allocations: 11.91 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1689, allocations: 0 / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1689, allocations: 3.938 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1689, allocations: 0 / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1691, allocations: 217.5 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1691, allocations: 0 / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.1693, allocations: 47.94 kB / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1693, allocations: 0 / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1694, allocations: 0 / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1694, allocations: 0 / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1694, allocations: 0 / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.1702, allocations: 359.1 kB / 0.5943 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1702, allocations: 81.09 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1703, allocations: 0 / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1705, allocations: 43.95 kB / 0.5944 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1705, allocations: 0 / 0.5944 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1706, allocations: 4 kB / 0.5944 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.1706, allocations: 91.27 kB / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1706, allocations: 0 / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002342/0.1709, allocations: 15.94 kB / 0.5945 GB, free: 11.53 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 (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.001113/0.172, allocations: 0.8844 MB / 0.5954 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007887/0.1728, allocations: 239.8 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1728, allocations: 0 / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.1732, allocations: 115.9 kB / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1734, allocations: 4 kB / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.1769, allocations: 1.973 MB / 0.5977 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1772, allocations: 0.6926 MB / 0.5983 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.1773, allocations: 20.23 kB / 0.5984 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1773, allocations: 11.72 kB / 0.5984 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1774, allocations: 0 / 0.5984 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/0.303, allocations: 1.671 MB / 0.6 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.3033, allocations: 178.4 kB / 0.6002 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.964, allocations: 4 kB / 0.6002 GB, free: 5.676 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)