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.001011/0.001011, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001055/0.001055, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.231/2.231, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.591/1.591, allocations: 135.2 MB / 426.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005373, allocations: 16 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2499, allocations: 82.3 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.000992/0.251, allocations: 323.1 kB / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.2515, allocations: 151.6 kB / 0.5877 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.2516, allocations: 4 kB / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.2516, allocations: 0 / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.2517, allocations: 0 / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.252, allocations: 23.98 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.2521, allocations: 11.91 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.2521, allocations: 4 kB / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.2522, allocations: 4 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.2523, allocations: 7.984 kB / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2523, allocations: 7.938 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2524, allocations: 27.91 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2525, allocations: 15.92 kB / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.2525, allocations: 29.7 kB / 0.5879 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.2526, allocations: 11.97 kB / 0.5879 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2527, allocations: 0 / 0.5879 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2527, allocations: 0 / 0.5879 GB, free: 2.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2527, allocations: 0 / 0.5879 GB, free: 2.438 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.0005052/0.2532, allocations: 331.3 kB / 0.5882 GB, free: 2.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2533, allocations: 12.03 kB / 0.5882 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.2533, allocations: 30.56 kB / 0.5882 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.2534, allocations: 4 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2536, allocations: 167.3 kB / 0.5884 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2536, allocations: 4 kB / 0.5884 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.2536, allocations: 0 / 0.5884 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.2538, allocations: 49.62 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2538, allocations: 3.984 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2539, allocations: 0 / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2539, allocations: 4 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.254, allocations: 12 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.2542, allocations: 169.6 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.2544, allocations: 42.62 kB / 0.5887 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.2546, allocations: 85.09 kB / 0.5888 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.2546, allocations: 34.5 kB / 0.5888 GB, free: 1.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.2546, allocations: 0 / 0.5888 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.002019/0.2567, allocations: 476.3 kB / 0.5892 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.2567, allocations: 59.41 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.2569, allocations: 93.84 kB / 0.5894 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2569, allocations: 29.7 kB / 0.5894 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.257, allocations: 80.14 kB / 0.5895 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.257, allocations: 31.5 kB / 0.5895 GB, free: 472 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2571, allocations: 0 / 0.5895 GB, free: 472 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2573, allocations: 318.8 kB / 0.5898 GB, free: 144 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.2573, allocations: 16.11 kB / 0.5898 GB, free: 128 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.2574, allocations: 12 kB / 0.5899 GB, free: 116 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.2575, allocations: 19.92 kB / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2575, allocations: 0 / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002246/0.2577, allocations: 73.84 kB / 0.5899 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2578, allocations: 8 kB / 0.59 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2578, allocations: 0 / 0.59 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2578, allocations: 0 / 0.59 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.258, allocations: 12.05 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.258, allocations: 4.062 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.2581, allocations: 3.984 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2581, allocations: 12.38 kB / 0.59 GB, free: 15.98 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.2582, allocations: 115.7 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2583, allocations: 4 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.2586, allocations: 81.58 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2586, allocations: 0 / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2586, allocations: 4 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2586, allocations: 0 / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2589, allocations: 169.6 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2589, allocations: 7.984 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.259, allocations: 12 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2591, allocations: 4 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2591, allocations: 0 / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2591, allocations: 0 / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2591, allocations: 0 / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.2594, allocations: 113 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.2595, allocations: 85.16 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.2595, allocations: 11.98 kB / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.2596, allocations: 0 / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2597, allocations: 4 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2597, allocations: 0 / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.2598, allocations: 79.28 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.406e-06/0.2598, allocations: 0 / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004191/0.2602, allocations: 39.92 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009304/0.2612, allocations: 0.6827 MB / 0.5913 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2614, allocations: 35.98 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2614, allocations: 3.938 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.2615, allocations: 20 kB / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.2617, allocations: 6.234 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2627, allocations: 430.7 kB / 0.5918 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.263, allocations: 0.6809 MB / 0.5925 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.2631, allocations: 8.719 kB / 0.5925 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.2632, allocations: 15.5 kB / 0.5925 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.2632, allocations: 0 / 0.5925 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.31, allocations: 1.57 MB / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.3104, allocations: 194.8 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.141, allocations: 2.188 kB / 0.5942 GB, free: 11.58 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/linux/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) Environment - environmentSimulation: