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.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001694/0.001694, allocations: 195.7 kB / 16.14 MB, free: 6.656 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8633/0.8633, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.84 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1431, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002646/0.1458, allocations: 1.516 MB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.1463, allocations: 148.4 kB / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.1463, allocations: 0 / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.1464, allocations: 7.922 kB / 0.5854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.1464, allocations: 4 kB / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1466, allocations: 23.92 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.392e-05/0.1467, allocations: 39.92 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1468, allocations: 19.98 kB / 0.5855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.1468, allocations: 23.91 kB / 0.5855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.1469, allocations: 15.92 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1469, allocations: 4 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.147, allocations: 31.97 kB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.147, allocations: 3.938 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1471, allocations: 23.88 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1472, allocations: 63.84 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1472, allocations: 0 / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1472, allocations: 0 / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1472, allocations: 0 / 0.5857 GB, free: 2.945 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.0004483/0.1477, allocations: 359.6 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1477, allocations: 12.03 kB / 0.586 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1478, allocations: 34.75 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.1489, allocations: 208.6 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.149, allocations: 180.2 kB / 0.5864 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.149, allocations: 384 / 0.5864 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.149, allocations: 4.375 kB / 0.5864 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.1496, allocations: 194 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1496, allocations: 3.938 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1496, allocations: 7.984 kB / 0.5866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1496, allocations: 0 / 0.5866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.1505, allocations: 283.6 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.1514, allocations: 441.2 kB / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1525, allocations: 286.2 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1528, allocations: 100.8 kB / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1529, allocations: 4 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1529, allocations: 34.56 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1529, allocations: 0 / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001119/0.154, allocations: 305.3 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1541, allocations: 55.41 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1543, allocations: 121.8 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1543, allocations: 29.7 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1543, allocations: 92.05 kB / 0.5883 GB, free: 32 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1544, allocations: 11.84 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.1544, allocations: 17.7 kB / 0.5883 GB, free: 16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1546, allocations: 322.8 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.1549, allocations: 91.88 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1553, allocations: 95.88 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.156, allocations: 180.6 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.156, allocations: 0 / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006986/0.1567, allocations: 213.5 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1567, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1567, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1567, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.157, allocations: 35.95 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.157, allocations: 3.984 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1572, allocations: 35.86 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1572, allocations: 0 / 0.5893 GB, free: 15.02 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.552e-05/0.1573, allocations: 113.8 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.47e-05/0.1573, allocations: 7.984 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1574, allocations: 11.91 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1574, allocations: 4 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1574, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1574, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1577, allocations: 213.5 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1577, allocations: 3.938 kB / 0.5896 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.158, allocations: 35.94 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.158, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.158, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.158, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.158, allocations: 4 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.1587, allocations: 315.5 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.1588, allocations: 77.48 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1588, allocations: 12 kB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.159, allocations: 27.94 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.1591, allocations: 4 kB / 0.5901 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1591, allocations: 3.938 kB / 0.5901 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.1591, allocations: 95.27 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1592, allocations: 3.938 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1594, allocations: 19.84 kB / 0.5902 GB, free: 13.98 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.00132/0.1607, allocations: 0.8334 MB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007207/0.1615, allocations: 195.8 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1615, allocations: 0 / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.1618, allocations: 107.8 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1621, allocations: 8 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.1654, allocations: 1.843 MB / 0.5931 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1657, allocations: 0.6887 MB / 0.5938 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.1658, allocations: 20.23 kB / 0.5938 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1659, allocations: 15.44 kB / 0.5938 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1659, allocations: 0 / 0.5938 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.1854, allocations: 1.735 MB / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.1857, allocations: 186.3 kB / 0.5957 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.407, allocations: 0 / 0.5957 GB, free: 8.258 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)