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.008519/0.008519, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001675/0.001675, allocations: 199.1 kB / 16.68 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.7 kB / 0.5809 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 80.21 MB / 0.6592 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00261/0.154, allocations: 1.458 MB / 0.6606 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.1544, allocations: 144.4 kB / 0.6608 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.1545, allocations: 0 / 0.6608 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/0.1546, allocations: 3.938 kB / 0.6608 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.1547, allocations: 3.938 kB / 0.6608 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1549, allocations: 27.91 kB / 0.6608 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.155, allocations: 51.83 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1551, allocations: 16 kB / 0.6609 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.1552, allocations: 15.98 kB / 0.6609 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1553, allocations: 27.8 kB / 0.6609 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1553, allocations: 8 kB / 0.6609 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.1554, allocations: 35.97 kB / 0.6609 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1554, allocations: 4 kB / 0.6609 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.1554, allocations: 23.84 kB / 0.661 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1556, allocations: 55.88 kB / 0.661 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1556, allocations: 3.938 kB / 0.661 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1556, allocations: 0 / 0.661 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1556, allocations: 4 kB / 0.661 GB, free: 8.961 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.0004446/0.1561, allocations: 359.1 kB / 0.6614 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1561, allocations: 12.03 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1561, allocations: 30.75 kB / 0.6614 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1572, allocations: 216.5 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1573, allocations: 172.2 kB / 0.6618 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1573, allocations: 4.375 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1574, allocations: 12.38 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.1579, allocations: 190 kB / 0.662 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1579, allocations: 3.938 kB / 0.662 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1579, allocations: 4 kB / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1579, allocations: 0 / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.1587, allocations: 283.6 kB / 0.6623 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.1596, allocations: 441.1 kB / 0.6627 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1606, allocations: 286.2 kB / 0.6629 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.161, allocations: 104.8 kB / 0.663 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.161, allocations: 0 / 0.663 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.161, allocations: 30.56 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 4.458e-06/0.161, allocations: 0 / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001045/0.1621, allocations: 313.2 kB / 0.6634 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1621, allocations: 55.41 kB / 0.6634 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.1622, allocations: 117.8 kB / 0.6635 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1623, allocations: 33.7 kB / 0.6636 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.1623, allocations: 88.08 kB / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1623, allocations: 20.25 kB / 0.6637 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1624, allocations: 17.7 kB / 0.6637 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1625, allocations: 318.8 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.1628, allocations: 95.81 kB / 0.6641 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1632, allocations: 103.8 kB / 0.6642 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.1638, allocations: 172.9 kB / 0.6644 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1638, allocations: 4 kB / 0.6644 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006656/0.1644, allocations: 213.4 kB / 0.6646 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1645, allocations: 8 kB / 0.6646 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1645, allocations: 0 / 0.6646 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1645, allocations: 0 / 0.6646 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1648, allocations: 39.94 kB / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1648, allocations: 0 / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1649, allocations: 23.95 kB / 0.6646 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.165, allocations: 4 kB / 0.6646 GB, free: 5.031 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.0001033/0.1651, allocations: 122.6 kB / 0.6648 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1651, allocations: 3.906 kB / 0.6648 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1652, allocations: 19.84 kB / 0.6648 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1652, allocations: 0 / 0.6648 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1652, allocations: 0 / 0.6648 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1652, allocations: 0 / 0.6648 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1654, allocations: 209.5 kB / 0.665 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1654, allocations: 0 / 0.665 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.1657, allocations: 35.94 kB / 0.665 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1657, allocations: 0 / 0.665 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1657, allocations: 0 / 0.665 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1657, allocations: 4 kB / 0.665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1657, allocations: 7.984 kB / 0.665 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.1664, allocations: 311.2 kB / 0.6653 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.1665, allocations: 85.09 kB / 0.6654 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1665, allocations: 4 kB / 0.6654 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1667, allocations: 27.95 kB / 0.6654 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.1668, allocations: 4 kB / 0.6654 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1668, allocations: 0 / 0.6654 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.1669, allocations: 99.2 kB / 0.6655 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1669, allocations: 0 / 0.6655 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002425/0.1671, allocations: 15.94 kB / 0.6655 GB, free: 3.996 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.001042/0.1682, allocations: 0.8491 MB / 0.6664 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1689, allocations: 199.6 kB / 0.6666 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1689, allocations: 4 kB / 0.6666 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.1692, allocations: 95.88 kB / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1695, allocations: 8 kB / 0.6667 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.1727, allocations: 1.84 MB / 0.6685 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.173, allocations: 0.6846 MB / 0.6691 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.1731, allocations: 20 kB / 0.6691 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.1732, allocations: 15.42 kB / 0.6692 GB, free: 156 kB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.1732, allocations: 0 / 0.6692 GB, free: 156 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.1914, allocations: 1.943 MB / 0.6711 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.402, allocations: 10.25 kB / 0.6711 GB, free: 14.29 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)