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.004915/0.004915, allocations: 100.4 kB / 15.73 MB, free: 6.004 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.001298/0.001298, allocations: 191.8 kB / 16.67 MB, free: 5.922 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8731/0.8731, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002115, allocations: 77.11 kB / 0.5858 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1693, allocations: 81.01 MB / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001884/0.1712, allocations: 0.5914 MB / 0.6655 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.1717, allocations: 166.3 kB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1718, allocations: 0 / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.1718, allocations: 3.938 kB / 0.6656 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.251e-05/0.1718, allocations: 0 / 0.6656 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1722, allocations: 43.89 kB / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.1723, allocations: 15.98 kB / 0.6657 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1723, allocations: 0 / 0.6657 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1723, allocations: 7.984 kB / 0.6657 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.1724, allocations: 19.92 kB / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1724, allocations: 0 / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.1725, allocations: 31.97 kB / 0.6658 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1726, allocations: 0 / 0.6658 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.1726, allocations: 19.91 kB / 0.6658 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1727, allocations: 24.19 kB / 0.6658 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1727, allocations: 0 / 0.6658 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.687e-06/0.1727, allocations: 0 / 0.6658 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1728, allocations: 3.938 kB / 0.6658 GB, free: 4.672 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.00047/0.1732, allocations: 331.5 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1733, allocations: 13.05 kB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.1733, allocations: 34.75 kB / 0.6662 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1734, allocations: 4.922 kB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1735, allocations: 168.3 kB / 0.6663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1735, allocations: 8.375 kB / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1735, allocations: 384 / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1737, allocations: 46.19 kB / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1737, allocations: 3.938 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1737, allocations: 0 / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1737, allocations: 4 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.262e-05/0.1738, allocations: 23.92 kB / 0.6664 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.174, allocations: 153.7 kB / 0.6666 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1741, allocations: 42.62 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.1741, allocations: 20.97 kB / 0.6666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.1743, allocations: 89.08 kB / 0.6667 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1743, allocations: 38.56 kB / 0.6667 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1743, allocations: 0 / 0.6667 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001343/0.1757, allocations: 488.2 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1757, allocations: 51.41 kB / 0.6673 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.1758, allocations: 97.86 kB / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1758, allocations: 29.69 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1759, allocations: 80.14 kB / 0.6675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1759, allocations: 31.88 kB / 0.6675 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.176, allocations: 21.7 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1761, allocations: 314.8 kB / 0.6678 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.1762, allocations: 8 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.1762, allocations: 15.98 kB / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.452e-05/0.1763, allocations: 40.84 kB / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1763, allocations: 0 / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.1764, allocations: 69.56 kB / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1764, allocations: 5.719 kB / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1764, allocations: 7.938 kB / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1765, allocations: 4 kB / 0.6679 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.1765, allocations: 11.98 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1766, allocations: 4 kB / 0.668 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.1766, allocations: 4 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1766, allocations: 0 / 0.668 GB, free: 2.133 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 9.447e-05/0.1767, allocations: 113.8 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.1767, allocations: 3.938 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1769, allocations: 89.56 kB / 0.6682 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1769, allocations: 3.938 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1769, allocations: 192 / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1769, allocations: 0 / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1771, allocations: 173.6 kB / 0.6683 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1771, allocations: 0 / 0.6683 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.1772, allocations: 19.92 kB / 0.6684 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1772, allocations: 0 / 0.6684 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1772, allocations: 4 kB / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1772, allocations: 0 / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1772, allocations: 4 kB / 0.6684 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1774, allocations: 113.4 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1775, allocations: 85.08 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1775, allocations: 0 / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.1775, allocations: 0 / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.1776, allocations: 11.98 kB / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1776, allocations: 0 / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.1776, allocations: 83.34 kB / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1776, allocations: 0 / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1779, allocations: 27.94 kB / 0.6687 GB, free: 1.312 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.0005964/0.1785, allocations: 0.6904 MB / 0.6693 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1786, allocations: 39.97 kB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1786, allocations: 4.156 kB / 0.6694 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.1787, allocations: 27.92 kB / 0.6694 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1788, allocations: 2.062 kB / 0.6694 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1799, allocations: 1.2 MB / 0.6706 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1803, allocations: 0.6846 MB / 0.6713 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.1803, allocations: 11.73 kB / 0.6713 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1803, allocations: 11.44 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1804, allocations: 4 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.205, allocations: 1.808 MB / 0.673 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.118, allocations: 14.75 kB / 0.6731 GB, free: 12.82 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)