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.00761/0.00761, allocations: 102 kB / 15.73 MB, free: 6.062 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.001992/0.001992, allocations: 192 kB / 16.67 MB, free: 5.973 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.457/1.457, allocations: 222.9 MB / 240.4 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.8419/0.8419, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 65.19 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002591/0.1581, allocations: 1.469 MB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.1585, allocations: 144.4 kB / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.1585, allocations: 0 / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.1586, allocations: 3.938 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.1587, allocations: 11.94 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1589, allocations: 31.89 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.159, allocations: 39.91 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1591, allocations: 23.94 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1592, allocations: 15.98 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1593, allocations: 27.84 kB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1593, allocations: 4 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1594, allocations: 27.97 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.1594, allocations: 8 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1595, allocations: 23.86 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1596, allocations: 64.08 kB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1596, allocations: 0 / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1596, allocations: 3.938 kB / 0.661 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1596, allocations: 3.938 kB / 0.661 GB, free: 8.84 MB / 0.4981 GB 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.0004965/0.1601, allocations: 371.2 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1602, allocations: 12.03 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.1603, allocations: 30.75 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1614, allocations: 212.5 kB / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1615, allocations: 168.3 kB / 0.6618 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1616, allocations: 384 / 0.6618 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1616, allocations: 8.375 kB / 0.6618 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.1622, allocations: 190 kB / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1622, allocations: 7.938 kB / 0.662 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1622, allocations: 4 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1622, allocations: 4 kB / 0.662 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.1631, allocations: 279.5 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.1641, allocations: 449.1 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.1653, allocations: 286.1 kB / 0.663 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.1657, allocations: 100.8 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1657, allocations: 4 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1658, allocations: 30.56 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1658, allocations: 4 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001236/0.167, allocations: 309.3 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1671, allocations: 55.41 kB / 0.6635 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1672, allocations: 121.8 kB / 0.6636 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1672, allocations: 25.7 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1673, allocations: 92.08 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1673, allocations: 11.94 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.1674, allocations: 13.72 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1676, allocations: 326.8 kB / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.1679, allocations: 95.88 kB / 0.6641 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.1683, allocations: 88.06 kB / 0.6642 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.169, allocations: 180.7 kB / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.169, allocations: 0 / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007946/0.1698, allocations: 217.4 kB / 0.6646 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1699, allocations: 8 kB / 0.6646 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1699, allocations: 0 / 0.6646 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1699, allocations: 4 kB / 0.6646 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1702, allocations: 35.88 kB / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1702, allocations: 0 / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1704, allocations: 27.95 kB / 0.6646 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1704, allocations: 0 / 0.6646 GB, free: 4.91 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 0.0001084/0.1705, allocations: 126.6 kB / 0.6648 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1706, allocations: 11.95 kB / 0.6648 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.1706, allocations: 11.91 kB / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1706, allocations: 0 / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1706, allocations: 0 / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1706, allocations: 0 / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1709, allocations: 213.5 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1709, allocations: 0 / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.1712, allocations: 39.94 kB / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1712, allocations: 0 / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1712, allocations: 0 / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1712, allocations: 0 / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1712, allocations: 0 / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.1721, allocations: 319.2 kB / 0.6653 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1722, allocations: 85.06 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1722, allocations: 0 / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1724, allocations: 23.95 kB / 0.6654 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1725, allocations: 8 kB / 0.6654 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1725, allocations: 4.359 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.1726, allocations: 103.2 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002342/0.1728, allocations: 15.94 kB / 0.6656 GB, free: 3.863 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.001171/0.174, allocations: 0.8333 MB / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.1748, allocations: 203.7 kB / 0.6666 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1748, allocations: 3.938 kB / 0.6666 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.1752, allocations: 95.88 kB / 0.6667 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1755, allocations: 4 kB / 0.6667 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.1792, allocations: 1.842 MB / 0.6685 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1796, allocations: 0.6885 MB / 0.6691 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.51e-05/0.1796, allocations: 19.98 kB / 0.6692 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.1797, allocations: 11.44 kB / 0.6692 GB, free: 32 kB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.1797, allocations: 0 / 0.6692 GB, free: 32 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.2018, allocations: 1.947 MB / 0.6711 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.173, allocations: 11.92 kB / 0.6711 GB, free: 14.15 MB / 0.5137 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)