Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.001091/0.00109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9684/0.9684, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 64.22 kB / 0.505 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1961, allocations: 80.93 MB / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002345/0.1985, allocations: 0.6539 MB / 0.5846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.199, allocations: 147.5 kB / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.199, allocations: 3.938 kB / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.1991, allocations: 0 / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.1991, allocations: 4 kB / 0.5848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1995, allocations: 43.89 kB / 0.5848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.1995, allocations: 12 kB / 0.5849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.1996, allocations: 7.984 kB / 0.5849 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1996, allocations: 7.938 kB / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.1997, allocations: 7.938 kB / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1997, allocations: 0 / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1998, allocations: 43.94 kB / 0.5849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1999, allocations: 0 / 0.5849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.1999, allocations: 7.938 kB / 0.5849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2, allocations: 31.94 kB / 0.585 GB, free: 3.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2, allocations: 8 kB / 0.585 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2, allocations: 0 / 0.585 GB, free: 3.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2, allocations: 4 kB / 0.585 GB, free: 3.758 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004162/0.2005, allocations: 327.5 kB / 0.5853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2005, allocations: 12.03 kB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.2006, allocations: 30.75 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2006, allocations: 4.875 kB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2008, allocations: 160.7 kB / 0.5855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2008, allocations: 4.375 kB / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.2008, allocations: 12.31 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2009, allocations: 46.23 kB / 0.5855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.201, allocations: 3.938 kB / 0.5855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.201, allocations: 0 / 0.5855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.201, allocations: 4 kB / 0.5855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.2011, allocations: 12 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.2013, allocations: 157.6 kB / 0.5857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2014, allocations: 50.56 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.2015, allocations: 20.97 kB / 0.5858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.2016, allocations: 81.11 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2016, allocations: 30.56 kB / 0.5859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.2016, allocations: 0 / 0.5859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001584/0.2032, allocations: 496.2 kB / 0.5864 GB, free: 2.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2033, allocations: 51.41 kB / 0.5864 GB, free: 2.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.2034, allocations: 97.86 kB / 0.5865 GB, free: 1.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.2034, allocations: 29.7 kB / 0.5865 GB, free: 1.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.2034, allocations: 81.8 kB / 0.5866 GB, free: 1.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.2035, allocations: 31.55 kB / 0.5866 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.2035, allocations: 21.66 kB / 0.5867 GB, free: 1.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2037, allocations: 314.8 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.2037, allocations: 11.98 kB / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.2038, allocations: 16.12 kB / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.056e-05/0.2039, allocations: 41.06 kB / 0.587 GB, free: 1.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2039, allocations: 0 / 0.587 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/0.204, allocations: 77.55 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2041, allocations: 4 kB / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2041, allocations: 0 / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2041, allocations: 4 kB / 0.5871 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2042, allocations: 11.98 kB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2042, allocations: 4 kB / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.2043, allocations: 0 / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2043, allocations: 8 kB / 0.5871 GB, free: 1.227 MB / 494.1 MB 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 (8): * Single equations (assignments): 8 * 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 9.264e-05/0.2044, allocations: 109.8 kB / 0.5872 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.2044, allocations: 3.938 kB / 0.5872 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.2046, allocations: 89.52 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2047, allocations: 0 / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2047, allocations: 0 / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2047, allocations: 0 / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2048, allocations: 165.7 kB / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2049, allocations: 4 kB / 0.5875 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.205, allocations: 16.12 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.205, allocations: 0 / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.205, allocations: 8 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.205, allocations: 0 / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.205, allocations: 0 / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.2053, allocations: 120.9 kB / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.2053, allocations: 89.06 kB / 0.5877 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2054, allocations: 4.062 kB / 0.5877 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.2054, allocations: 0 / 0.5877 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2055, allocations: 4 kB / 0.5877 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2055, allocations: 7.984 kB / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.2055, allocations: 79.28 kB / 0.5878 GB, free: 444 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2055, allocations: 0 / 0.5878 GB, free: 444 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.2059, allocations: 28 kB / 0.5878 GB, free: 416 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0006899/0.2066, allocations: 0.6904 MB / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2067, allocations: 39.98 kB / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2067, allocations: 0 / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.2068, allocations: 27.92 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.207, allocations: 0 / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2082, allocations: 1.208 MB / 0.5897 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2085, allocations: 0.6846 MB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.2086, allocations: 4 kB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.2086, allocations: 15.44 kB / 0.5904 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2087, allocations: 0 / 0.5904 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.2207, allocations: 1.704 MB / 0.5921 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.221, allocations: 229.3 kB / 0.5923 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.073, allocations: 0 / 0.5923 GB, free: 11.83 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)