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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 192 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8144/0.8144, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 65.88 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1507, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002984/0.1537, allocations: 1.448 MB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.1541, allocations: 144.4 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.1542, allocations: 0 / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.1542, allocations: 7.938 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.1543, allocations: 3.938 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1546, allocations: 35.88 kB / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1547, allocations: 39.92 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1549, allocations: 24 kB / 0.5861 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.1549, allocations: 19.92 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.155, allocations: 15.92 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.155, allocations: 4 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.1551, allocations: 35.97 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1551, allocations: 11.92 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1551, allocations: 19.86 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1553, allocations: 67.86 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1553, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1553, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1553, allocations: 0 / 0.5863 GB, free: 2.551 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.0007253/0.1561, allocations: 359.6 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1561, allocations: 12.03 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1562, allocations: 34.75 kB / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1573, allocations: 220.5 kB / 0.5869 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1575, allocations: 172.2 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1575, allocations: 4.375 kB / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1575, allocations: 384 / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.158, allocations: 206 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1581, allocations: 3.938 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1581, allocations: 0 / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1581, allocations: 0 / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.159, allocations: 275.6 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.1599, allocations: 437.3 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.161, allocations: 290.1 kB / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.1614, allocations: 102.5 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1614, allocations: 4.078 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1615, allocations: 38.5 kB / 0.5884 GB, free: 268 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1615, allocations: 0 / 0.5884 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001168/0.1626, allocations: 305.3 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1627, allocations: 59.34 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.1628, allocations: 113.8 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1628, allocations: 29.7 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.1629, allocations: 96.03 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1629, allocations: 11.83 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1629, allocations: 17.72 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1631, allocations: 326.8 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1634, allocations: 91.88 kB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1638, allocations: 99.81 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.1644, allocations: 168.6 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1644, allocations: 0 / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006979/0.1651, allocations: 213.5 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1651, allocations: 6.344 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1651, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1652, allocations: 4 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.1654, allocations: 35.94 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1654, allocations: 0 / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1656, allocations: 39.86 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1656, allocations: 0 / 0.5899 GB, free: 14.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 8.482e-05/0.1657, allocations: 125.7 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1658, allocations: 4 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1658, allocations: 7.906 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1658, allocations: 336 / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1658, allocations: 0 / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1658, allocations: 4 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.166, allocations: 209.5 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.166, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1663, allocations: 43.86 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1663, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1663, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1663, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1663, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.167, allocations: 319.5 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1671, allocations: 81.11 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1671, allocations: 4 kB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.1673, allocations: 27.95 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.1674, allocations: 11.88 kB / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1674, allocations: 3.984 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.1674, allocations: 95.27 kB / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1674, allocations: 0 / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.1677, allocations: 23.84 kB / 0.5908 GB, free: 13.57 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.0009828/0.1687, allocations: 0.8295 MB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.1694, allocations: 203.7 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1694, allocations: 0 / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.1698, allocations: 95.88 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.17, allocations: 8 kB / 0.5919 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.1732, allocations: 1.841 MB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1735, allocations: 0.6846 MB / 0.5944 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.1735, allocations: 19.98 kB / 0.5944 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1736, allocations: 19.42 kB / 0.5944 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1736, allocations: 3.938 kB / 0.5944 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.337/0.5106, allocations: 1.913 MB / 0.5963 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.171, allocations: 14.28 kB / 0.5963 GB, free: 7.891 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)