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.005249/0.005249, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001237/0.001237, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.825/0.825, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.28 kB / 0.5852 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 80.92 MB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001648/0.1732, allocations: 0.5915 MB / 0.6648 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004007/0.1736, allocations: 158.4 kB / 0.6649 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1736, allocations: 0 / 0.6649 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.1737, allocations: 3.938 kB / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.096e-05/0.1737, allocations: 0 / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.174, allocations: 47.88 kB / 0.665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.649e-05/0.1741, allocations: 23.92 kB / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.1741, allocations: 0 / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1741, allocations: 4 kB / 0.665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.1742, allocations: 19.91 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.1742, allocations: 0 / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.1743, allocations: 31.97 kB / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1743, allocations: 0 / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1743, allocations: 11.92 kB / 0.6651 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.1744, allocations: 32.17 kB / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1744, allocations: 0 / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.454e-06/0.1744, allocations: 3.938 kB / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.227e-06/0.1744, allocations: 7.938 kB / 0.6651 GB, free: 5.301 MB / 0.4981 GB 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.0003153/0.1747, allocations: 327.5 kB / 0.6654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1748, allocations: 9.109 kB / 0.6654 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.1748, allocations: 34.75 kB / 0.6655 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.1748, allocations: 0.9375 kB / 0.6655 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.1749, allocations: 172.3 kB / 0.6656 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-06/0.175, allocations: 384 / 0.6656 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.175, allocations: 8.375 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.1751, allocations: 46.25 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1751, allocations: 3.938 kB / 0.6657 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.1751, allocations: 0 / 0.6657 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-06/0.1751, allocations: 0 / 0.6657 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.1751, allocations: 19.92 kB / 0.6657 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1753, allocations: 157.7 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.1754, allocations: 42.62 kB / 0.6659 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1754, allocations: 16.98 kB / 0.6659 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.453e-05/0.1755, allocations: 89.09 kB / 0.666 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1756, allocations: 30.56 kB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.1756, allocations: 0 / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001201/0.1768, allocations: 496.2 kB / 0.6665 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1768, allocations: 51.41 kB / 0.6666 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.1769, allocations: 101.9 kB / 0.6666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1769, allocations: 29.64 kB / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.1769, allocations: 84.12 kB / 0.6668 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.177, allocations: 27.75 kB / 0.6668 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.177, allocations: 21.7 kB / 0.6668 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.1771, allocations: 310.8 kB / 0.6671 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.1771, allocations: 12 kB / 0.6671 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.1772, allocations: 15.98 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.1772, allocations: 32.86 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1772, allocations: 4.125 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.1773, allocations: 77.55 kB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1774, allocations: 4 kB / 0.6672 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1774, allocations: 3.938 kB / 0.6672 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1774, allocations: 0 / 0.6672 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.1775, allocations: 15.98 kB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1775, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.1775, allocations: 8 kB / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1775, allocations: 0 / 0.6673 GB, free: 2.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.1776, allocations: 115.2 kB / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.1776, allocations: 3.938 kB / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.1778, allocations: 89.56 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1778, allocations: 0 / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1778, allocations: 0 / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1778, allocations: 0 / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1779, allocations: 169.6 kB / 0.6676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1779, allocations: 0 / 0.6676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.178, allocations: 20.11 kB / 0.6676 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.178, allocations: 4 kB / 0.6677 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.178, allocations: 4 kB / 0.6677 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.178, allocations: 4 kB / 0.6677 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.178, allocations: 3.984 kB / 0.6677 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1782, allocations: 113 kB / 0.6678 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.1783, allocations: 81.05 kB / 0.6678 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1783, allocations: 4.031 kB / 0.6679 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.1783, allocations: 0 / 0.6679 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1783, allocations: 12.05 kB / 0.6679 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1784, allocations: 4 kB / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.1784, allocations: 79.28 kB / 0.6679 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1784, allocations: 0 / 0.6679 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002169/0.1786, allocations: 27.94 kB / 0.668 GB, free: 1.953 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 (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.0005124/0.1791, allocations: 0.6909 MB / 0.6686 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1793, allocations: 40.05 kB / 0.6687 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1793, allocations: 7.938 kB / 0.6687 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.1793, allocations: 15.98 kB / 0.6687 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1795, allocations: 8 kB / 0.6687 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1805, allocations: 1.188 MB / 0.6699 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1808, allocations: 0.6825 MB / 0.6705 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.1808, allocations: 15.8 kB / 0.6706 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1809, allocations: 15.44 kB / 0.6706 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1809, allocations: 0 / 0.6706 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.2007, allocations: 1.811 MB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.685, allocations: 7.891 kB / 0.6723 GB, free: 13.47 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)