Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_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.0007576/0.0007576, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004534/0.004534, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7641/0.7641, allocations: 132.3 MB / 423.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 20.8 kB / 0.5041 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 81.57 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005902/0.3365, allocations: 340.5 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.3369, allocations: 152.4 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.3369, allocations: 0 / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.3369, allocations: 2.344 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.3369, allocations: 0 / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3371, allocations: 35.44 kB / 0.5843 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.265e-05/0.3372, allocations: 18.58 kB / 0.5843 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.3372, allocations: 2.328 kB / 0.5843 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.3373, allocations: 7.781 kB / 0.5843 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.3373, allocations: 9.234 kB / 0.5843 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3373, allocations: 3.156 kB / 0.5843 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.3374, allocations: 32.47 kB / 0.5843 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3374, allocations: 6.875 kB / 0.5843 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.3375, allocations: 38.39 kB / 0.5844 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.3376, allocations: 21.72 kB / 0.5844 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3376, allocations: 0 / 0.5844 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3376, allocations: 0 / 0.5844 GB, free: 3.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.3376, allocations: 0.8438 kB / 0.5844 GB, free: 3.613 MB / 430.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.0002556/0.3378, allocations: 334.6 kB / 0.5847 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3379, allocations: 10.22 kB / 0.5847 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.3379, allocations: 32.41 kB / 0.5848 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.3379, allocations: 3.281 kB / 0.5848 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.338, allocations: 167.9 kB / 0.5849 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.338, allocations: 2.312 kB / 0.5849 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.338, allocations: 2.438 kB / 0.5849 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.3381, allocations: 45.59 kB / 0.585 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3382, allocations: 8.719 kB / 0.585 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.3382, allocations: 0.6562 kB / 0.585 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3382, allocations: 0.8125 kB / 0.585 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.3382, allocations: 20.17 kB / 0.585 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.3383, allocations: 158.2 kB / 0.5852 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.3384, allocations: 47.42 kB / 0.5852 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.3385, allocations: 20.52 kB / 0.5852 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/0.3385, allocations: 85.05 kB / 0.5853 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.3385, allocations: 39.8 kB / 0.5853 GB, free: 2.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3386, allocations: 0 / 0.5853 GB, free: 2.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001018/0.3396, allocations: 482.7 kB / 0.5858 GB, free: 2.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.3396, allocations: 56.75 kB / 0.5859 GB, free: 2.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.952e-05/0.3396, allocations: 92.33 kB / 0.5859 GB, free: 2.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.3397, allocations: 29.83 kB / 0.586 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.068e-05/0.3397, allocations: 83.98 kB / 0.5861 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3397, allocations: 24.62 kB / 0.5861 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.3397, allocations: 17.61 kB / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.3398, allocations: 312.2 kB / 0.5864 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.3398, allocations: 17.25 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.3398, allocations: 17.5 kB / 0.5864 GB, free: 1.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.3399, allocations: 36.2 kB / 0.5865 GB, free: 1.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3399, allocations: 0 / 0.5865 GB, free: 1.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.1e-05/0.34, allocations: 76.28 kB / 0.5865 GB, free: 1.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.34, allocations: 5.516 kB / 0.5865 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.34, allocations: 0 / 0.5865 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.34, allocations: 1.375 kB / 0.5865 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.3401, allocations: 16.78 kB / 0.5866 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3401, allocations: 0 / 0.5866 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.3401, allocations: 1.312 kB / 0.5866 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3401, allocations: 2.531 kB / 0.5866 GB, free: 1.445 MB / 430.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 4.372e-05/0.3402, allocations: 114.1 kB / 0.5867 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3402, allocations: 11.17 kB / 0.5867 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.3404, allocations: 84.09 kB / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3404, allocations: 1.375 kB / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3404, allocations: 0 / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3404, allocations: 5.609 kB / 0.5868 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.091e-05/0.3405, allocations: 166.9 kB / 0.5869 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3405, allocations: 8.688 kB / 0.5869 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.3405, allocations: 21.25 kB / 0.5869 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3405, allocations: 0.8125 kB / 0.587 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3406, allocations: 5.516 kB / 0.587 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3406, allocations: 0 / 0.587 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3406, allocations: 1.281 kB / 0.587 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.3407, allocations: 109.7 kB / 0.5871 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.3407, allocations: 87.81 kB / 0.5871 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.3408, allocations: 5.656 kB / 0.5872 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.3408, allocations: 5.125 kB / 0.5872 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.3408, allocations: 9.547 kB / 0.5872 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3408, allocations: 1.75 kB / 0.5872 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.448e-05/0.3409, allocations: 77.23 kB / 0.5872 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3409, allocations: 0 / 0.5872 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.3411, allocations: 33.03 kB / 0.5873 GB, free: 0.7656 MB / 430.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.0003404/0.3414, allocations: 0.6815 MB / 0.5879 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3415, allocations: 45.78 kB / 0.588 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.3415, allocations: 0 / 0.588 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.3416, allocations: 21.31 kB / 0.588 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3417, allocations: 6.703 kB / 0.588 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3428, allocations: 1.196 MB / 0.5892 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.343, allocations: 0.6893 MB / 0.5898 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3431, allocations: 9.875 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3431, allocations: 10.75 kB / 0.5899 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3431, allocations: 0.5938 kB / 0.5899 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4232/0.7663, allocations: 1.585 MB / 0.5914 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.7665, allocations: 213.8 kB / 0.5916 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.418, allocations: 3.156 kB / 0.5916 GB, free: 13.85 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)