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.005076/0.005076, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001118/0.001118, allocations: 189 kB / 16.67 MB, free: 5.961 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 68.7 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002279/0.1468, allocations: 1.452 MB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.1472, allocations: 148.4 kB / 0.6608 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1472, allocations: 0 / 0.6608 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.1472, allocations: 3.938 kB / 0.6608 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.1473, allocations: 7.938 kB / 0.6608 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1475, allocations: 35.89 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.1476, allocations: 39.91 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1477, allocations: 27.92 kB / 0.6609 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.1478, allocations: 8 kB / 0.6609 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.1478, allocations: 27.86 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1479, allocations: 4 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.148, allocations: 27.97 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.148, allocations: 15.92 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.148, allocations: 23.86 kB / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1482, allocations: 55.88 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1482, allocations: 4 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1482, allocations: 0 / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1482, allocations: 0 / 0.661 GB, free: 8.883 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.0004295/0.1486, allocations: 363 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1487, allocations: 8.031 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.1487, allocations: 34.75 kB / 0.6614 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1497, allocations: 220.5 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1498, allocations: 172.3 kB / 0.6618 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.1498, allocations: 4.312 kB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1499, allocations: 4.375 kB / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.1504, allocations: 198 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1504, allocations: 3.938 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1504, allocations: 0 / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1504, allocations: 4 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.1512, allocations: 275.6 kB / 0.6623 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008518/0.1521, allocations: 445.1 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1531, allocations: 286.2 kB / 0.663 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.1534, allocations: 100.8 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1534, allocations: 4 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1535, allocations: 38.55 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001038/0.1545, allocations: 313.2 kB / 0.6634 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1546, allocations: 51.41 kB / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.1546, allocations: 117.8 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1547, allocations: 25.7 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.1547, allocations: 92.16 kB / 0.6637 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1547, allocations: 15.78 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1548, allocations: 17.72 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1549, allocations: 326.8 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.1552, allocations: 92.25 kB / 0.6641 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.1556, allocations: 92.06 kB / 0.6642 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.1562, allocations: 176.7 kB / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1562, allocations: 3.938 kB / 0.6644 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006583/0.1568, allocations: 225.3 kB / 0.6646 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1569, allocations: 5.406 kB / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1569, allocations: 0 / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1569, allocations: 0 / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1571, allocations: 35.94 kB / 0.6646 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1571, allocations: 0 / 0.6646 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1573, allocations: 31.95 kB / 0.6646 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1573, allocations: 3.984 kB / 0.6646 GB, free: 4.945 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 8.812e-05/0.1574, allocations: 122.6 kB / 0.6648 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1575, allocations: 7.906 kB / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1575, allocations: 7.906 kB / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1575, allocations: 0 / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1575, allocations: 0 / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1576, allocations: 4 kB / 0.6648 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1578, allocations: 209.5 kB / 0.665 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1578, allocations: 0 / 0.665 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.158, allocations: 39.88 kB / 0.665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.158, allocations: 4 kB / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.158, allocations: 0 / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.158, allocations: 0 / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.158, allocations: 4 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.1588, allocations: 319.1 kB / 0.6653 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1588, allocations: 77.11 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1589, allocations: 4 kB / 0.6654 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1591, allocations: 27.95 kB / 0.6654 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1591, allocations: 4 kB / 0.6654 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.1591, allocations: 3.984 kB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.1592, allocations: 95.27 kB / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1592, allocations: 0 / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000252/0.1595, allocations: 19.94 kB / 0.6655 GB, free: 3.91 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.001017/0.1605, allocations: 0.8332 MB / 0.6664 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006843/0.1612, allocations: 200 kB / 0.6666 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1612, allocations: 0 / 0.6666 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.1615, allocations: 107.8 kB / 0.6667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1618, allocations: 10.02 kB / 0.6667 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.165, allocations: 1.838 MB / 0.6685 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1652, allocations: 0.6885 MB / 0.6691 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.1653, allocations: 19.98 kB / 0.6692 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.1654, allocations: 15.44 kB / 0.6692 GB, free: 72 kB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.1654, allocations: 0 / 0.6692 GB, free: 72 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.1839, allocations: 1.969 MB / 0.6711 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.609, allocations: 10.73 kB / 0.6711 GB, free: 14.17 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)