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.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001307/0.001307, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9494/0.9494, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002394, allocations: 65.48 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1881, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002411/0.1906, allocations: 1.504 MB / 0.5855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.1909, allocations: 148.4 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.191, allocations: 4 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.191, allocations: 3.938 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.1911, allocations: 0 / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1913, allocations: 31.89 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.1914, allocations: 39.86 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1915, allocations: 23.98 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.1915, allocations: 15.94 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.1916, allocations: 27.84 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1916, allocations: 4 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1917, allocations: 35.97 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1917, allocations: 7.984 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1917, allocations: 19.88 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1919, allocations: 55.86 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1919, allocations: 7.984 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1919, allocations: 0 / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1919, allocations: 0 / 0.5859 GB, free: 2.816 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.0004103/0.1923, allocations: 363.6 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1923, allocations: 12.03 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1924, allocations: 30.75 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.1934, allocations: 216.5 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.1935, allocations: 168.2 kB / 0.5866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1935, allocations: 8.312 kB / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1935, allocations: 8.359 kB / 0.5866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.1941, allocations: 194 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1941, allocations: 7.938 kB / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1941, allocations: 0 / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1941, allocations: 0 / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.1949, allocations: 279.5 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.1957, allocations: 445.3 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1967, allocations: 286.3 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.197, allocations: 100.7 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1971, allocations: 7.984 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1971, allocations: 34.55 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1971, allocations: 0 / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001058/0.1982, allocations: 309.3 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1982, allocations: 55.41 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.1983, allocations: 114.1 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1983, allocations: 29.7 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.1984, allocations: 92.03 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1984, allocations: 7.938 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1984, allocations: 25.66 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.1985, allocations: 322.8 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.1989, allocations: 95.88 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1992, allocations: 91.88 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.1998, allocations: 172.6 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1998, allocations: 0 / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006691/0.2005, allocations: 217.4 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2005, allocations: 8 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2005, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2005, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.2007, allocations: 31.94 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.2008, allocations: 7.984 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2009, allocations: 31.86 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.201, allocations: 7.984 kB / 0.5895 GB, free: 14.88 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 7.81e-05/0.2011, allocations: 117.8 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.2011, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.2011, allocations: 7.906 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2011, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2011, allocations: 3.938 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2012, allocations: 7.984 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2014, allocations: 209.5 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2014, allocations: 0 / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2016, allocations: 39.89 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2016, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2016, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2016, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2016, allocations: 3.984 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.2023, allocations: 315.2 kB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2024, allocations: 81.11 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2024, allocations: 0 / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2026, allocations: 35.95 kB / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2027, allocations: 3.984 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2027, allocations: 384 / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.2027, allocations: 103.2 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2027, allocations: 0 / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.203, allocations: 19.84 kB / 0.5904 GB, free: 13.84 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.0009218/0.2039, allocations: 0.8372 MB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006899/0.2046, allocations: 199.7 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2046, allocations: 0 / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.2049, allocations: 99.81 kB / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2052, allocations: 4 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.2082, allocations: 1.85 MB / 0.5933 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2084, allocations: 0.6924 MB / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.2085, allocations: 20 kB / 0.594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.2086, allocations: 15.42 kB / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2086, allocations: 0 / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7831/0.9917, allocations: 1.788 MB / 0.5958 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.9919, allocations: 183.3 kB / 0.5959 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/3.107, allocations: 3.938 kB / 0.5959 GB, free: 8.074 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)