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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 152 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.001599/0.001599, allocations: 197 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7882/0.7882, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 66.39 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001756/0.368, allocations: 0.5959 MB / 0.5808 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.3684, allocations: 151.8 kB / 0.5809 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3684, allocations: 0 / 0.5809 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.3685, allocations: 0 / 0.5809 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.858e-05/0.3685, allocations: 3.938 kB / 0.5809 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3688, allocations: 49.5 kB / 0.581 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.3689, allocations: 11.78 kB / 0.581 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.3689, allocations: 6.688 kB / 0.581 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.3689, allocations: 5.906 kB / 0.581 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.369, allocations: 15.95 kB / 0.581 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.369, allocations: 0.7812 kB / 0.581 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.3691, allocations: 32.73 kB / 0.581 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.3691, allocations: 1.812 kB / 0.5811 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3692, allocations: 7.672 kB / 0.5811 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.3693, allocations: 37.81 kB / 0.5811 GB, free: 4.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3693, allocations: 1.188 kB / 0.5811 GB, free: 4.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3693, allocations: 0 / 0.5811 GB, free: 4.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3693, allocations: 4 kB / 0.5811 GB, free: 4.012 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.00032/0.3696, allocations: 331 kB / 0.5814 GB, free: 3.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3697, allocations: 9.5 kB / 0.5814 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.3697, allocations: 33.03 kB / 0.5815 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3697, allocations: 2.969 kB / 0.5815 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.3698, allocations: 168 kB / 0.5816 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3698, allocations: 2.25 kB / 0.5816 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3699, allocations: 7.094 kB / 0.5816 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.37, allocations: 49.25 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.37, allocations: 3.938 kB / 0.5817 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.37, allocations: 6.266 kB / 0.5817 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.37, allocations: 0 / 0.5817 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.3701, allocations: 15.03 kB / 0.5817 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.3702, allocations: 155.1 kB / 0.5818 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.3703, allocations: 48.06 kB / 0.5819 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.3703, allocations: 19.02 kB / 0.5819 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.3704, allocations: 89.25 kB / 0.582 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3704, allocations: 32.48 kB / 0.582 GB, free: 2.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3704, allocations: 0 / 0.582 GB, free: 2.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001147/0.3716, allocations: 490 kB / 0.5825 GB, free: 2.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.3716, allocations: 55.34 kB / 0.5825 GB, free: 2.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.3717, allocations: 93.28 kB / 0.5826 GB, free: 2.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.3717, allocations: 33.83 kB / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.121e-05/0.3717, allocations: 81.45 kB / 0.5827 GB, free: 2.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3717, allocations: 24.86 kB / 0.5828 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3718, allocations: 20.58 kB / 0.5828 GB, free: 2.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.3718, allocations: 313.5 kB / 0.5831 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.3718, allocations: 12.98 kB / 0.5831 GB, free: 1.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.3719, allocations: 14 kB / 0.5831 GB, free: 1.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.3719, allocations: 35.2 kB / 0.5831 GB, free: 1.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.372, allocations: 4.594 kB / 0.5832 GB, free: 1.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001046/0.3721, allocations: 84.06 kB / 0.5832 GB, free: 1.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3721, allocations: 5.125 kB / 0.5832 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3721, allocations: 1.031 kB / 0.5832 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3721, allocations: 0 / 0.5832 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.3722, allocations: 12.83 kB / 0.5832 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3722, allocations: 5.766 kB / 0.5833 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.3722, allocations: 5.25 kB / 0.5833 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3723, allocations: 2.734 kB / 0.5833 GB, free: 1.836 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.433e-05/0.3723, allocations: 114.9 kB / 0.5834 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.3723, allocations: 4.812 kB / 0.5834 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.3725, allocations: 87.89 kB / 0.5835 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3725, allocations: 1.875 kB / 0.5835 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3725, allocations: 0.6562 kB / 0.5835 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3725, allocations: 4.641 kB / 0.5835 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.3726, allocations: 166.6 kB / 0.5836 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3726, allocations: 0.6094 kB / 0.5836 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.3727, allocations: 17.56 kB / 0.5836 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3727, allocations: 4.656 kB / 0.5836 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.3727, allocations: 2.156 kB / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3727, allocations: 0.6094 kB / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3727, allocations: 0 / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.3729, allocations: 122.4 kB / 0.5838 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3729, allocations: 83.28 kB / 0.5838 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3729, allocations: 1.594 kB / 0.5838 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.373, allocations: 2.031 kB / 0.5839 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.373, allocations: 8.375 kB / 0.5839 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.373, allocations: 7.375 kB / 0.5839 GB, free: 1.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.356e-05/0.373, allocations: 76.53 kB / 0.5839 GB, free: 1.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.373, allocations: 0 / 0.5839 GB, free: 1.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.3732, allocations: 29.25 kB / 0.584 GB, free: 1.168 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.000393/0.3736, allocations: 0.6887 MB / 0.5846 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3738, allocations: 38.55 kB / 0.5847 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3738, allocations: 0 / 0.5847 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.3738, allocations: 29.12 kB / 0.5847 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.374, allocations: 5.062 kB / 0.5847 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.3749, allocations: 1.189 MB / 0.5859 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3751, allocations: 0.6805 MB / 0.5865 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.538e-05/0.3751, allocations: 12.47 kB / 0.5865 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.3752, allocations: 16.75 kB / 0.5866 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3752, allocations: 0 / 0.5866 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2514/0.6266, allocations: 1.77 MB / 0.5883 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.135/9.761, allocations: 16.75 kB / 0.5883 GB, free: 14.29 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)