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.001362/0.001362, allocations: 100.1 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.001619/0.001619, 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.334/2.334, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.081/1.081, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 8.562 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.617, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008612/0.6179, allocations: 330.1 kB / 0.5833 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.6183, allocations: 155.9 kB / 0.5834 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.6184, allocations: 0 / 0.5834 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.6184, allocations: 0.6562 kB / 0.5834 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.6184, allocations: 0 / 0.5834 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.6187, allocations: 19.41 kB / 0.5835 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.6188, allocations: 17.69 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.6188, allocations: 1.297 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.6189, allocations: 4.203 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.6189, allocations: 4.828 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.619, allocations: 0.8438 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.6191, allocations: 38.91 kB / 0.5835 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.6191, allocations: 13.17 kB / 0.5835 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.6191, allocations: 28.22 kB / 0.5836 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.612e-05/0.6192, allocations: 20.62 kB / 0.5836 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.6192, allocations: 0 / 0.5836 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6192, allocations: 0 / 0.5836 GB, free: 3.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.6192, allocations: 0.875 kB / 0.5836 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.0003446/0.6196, allocations: 322.8 kB / 0.5839 GB, free: 3.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6196, allocations: 9.344 kB / 0.5839 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.6197, allocations: 40.17 kB / 0.5839 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.6197, allocations: 10.27 kB / 0.5839 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.6198, allocations: 162.8 kB / 0.5841 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.6198, allocations: 0.9062 kB / 0.5841 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.6198, allocations: 3 kB / 0.5841 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.62, allocations: 49.73 kB / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.62, allocations: 0 / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.62, allocations: 0 / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.62, allocations: 1.062 kB / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.6201, allocations: 11.92 kB / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.6202, allocations: 166.6 kB / 0.5843 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.6203, allocations: 43.45 kB / 0.5844 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.206e-05/0.6204, allocations: 82.41 kB / 0.5844 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.6205, allocations: 35.75 kB / 0.5845 GB, free: 2.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.6205, allocations: 0 / 0.5845 GB, free: 2.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001307/0.6218, allocations: 499.1 kB / 0.585 GB, free: 2.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.6218, allocations: 51.41 kB / 0.585 GB, free: 2.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.6219, allocations: 92.44 kB / 0.5851 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6219, allocations: 26.64 kB / 0.5851 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.6219, allocations: 80.8 kB / 0.5852 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.6219, allocations: 24.55 kB / 0.5852 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.622, allocations: 5.594 kB / 0.5852 GB, free: 1.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.622, allocations: 317.3 kB / 0.5855 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.6221, allocations: 20.19 kB / 0.5855 GB, free: 1.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.6221, allocations: 12.48 kB / 0.5856 GB, free: 1.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.6221, allocations: 12.45 kB / 0.5856 GB, free: 1.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6221, allocations: 4.438 kB / 0.5856 GB, free: 1.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001166/0.6223, allocations: 76.16 kB / 0.5856 GB, free: 1.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6223, allocations: 7 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6223, allocations: 0 / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6223, allocations: 1.391 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.6224, allocations: 12.81 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.6224, allocations: 1.219 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.6225, allocations: 5.438 kB / 0.5857 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6225, allocations: 2.266 kB / 0.5857 GB, free: 1.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.6225, allocations: 116.9 kB / 0.5858 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.6226, allocations: 5.594 kB / 0.5858 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.6227, allocations: 84.47 kB / 0.5859 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6228, allocations: 1 kB / 0.5859 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6228, allocations: 0 / 0.5859 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6228, allocations: 5.75 kB / 0.5859 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.6229, allocations: 171.4 kB / 0.586 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6229, allocations: 0 / 0.586 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.623, allocations: 12.98 kB / 0.5861 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.623, allocations: 1.281 kB / 0.5861 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.623, allocations: 0.5625 kB / 0.5861 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.623, allocations: 1 kB / 0.5861 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.623, allocations: 6 kB / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.6232, allocations: 121.1 kB / 0.5862 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.6233, allocations: 79.03 kB / 0.5863 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.6233, allocations: 5.781 kB / 0.5863 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.6234, allocations: 5.953 kB / 0.5863 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.6234, allocations: 7.844 kB / 0.5863 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6234, allocations: 2.984 kB / 0.5863 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.6234, allocations: 77.17 kB / 0.5863 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6235, allocations: 0 / 0.5863 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.6237, allocations: 29.8 kB / 0.5864 GB, free: 0.8242 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 (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.0005082/0.6242, allocations: 0.6874 MB / 0.587 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.6244, allocations: 40.86 kB / 0.5871 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6244, allocations: 0 / 0.5871 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.6244, allocations: 21.09 kB / 0.5871 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.6246, allocations: 6.719 kB / 0.5871 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.6253, allocations: 418.1 kB / 0.5875 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6256, allocations: 0.6867 MB / 0.5882 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.503e-05/0.6256, allocations: 9.984 kB / 0.5882 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.6257, allocations: 19.28 kB / 0.5882 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6257, allocations: 0 / 0.5882 GB, free: 15.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.639, allocations: 1.549 MB / 0.5897 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.6393, allocations: 204.2 kB / 0.5899 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.222, allocations: 3.281 kB / 0.5899 GB, free: 14.71 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/linux/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) Environment - environmentSimulation: