Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 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.001133/0.001133, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002818/0.1659, allocations: 1.426 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.1664, allocations: 188.2 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.1664, allocations: 0 / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.1665, allocations: 4 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.1665, allocations: 3.938 kB / 0.586 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1668, allocations: 43.88 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.1669, allocations: 23.94 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.167, allocations: 3.984 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.167, allocations: 8 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.1671, allocations: 15.92 kB / 0.5861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1671, allocations: 8 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.1672, allocations: 35.95 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1672, allocations: 0 / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1672, allocations: 7.938 kB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1674, allocations: 39.88 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1674, allocations: 0 / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1674, allocations: 0 / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1674, allocations: 3.938 kB / 0.5862 GB, free: 2.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004326/0.1678, allocations: 351.7 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1679, allocations: 12.03 kB / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.1679, allocations: 30.75 kB / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.1679, allocations: 4.938 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1681, allocations: 176.2 kB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1681, allocations: 8.359 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.1681, allocations: 384 / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1682, allocations: 46.25 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1683, allocations: 3.938 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1683, allocations: 0 / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1683, allocations: 7.984 kB / 0.5868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1685, allocations: 35.91 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.1688, allocations: 246.6 kB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1689, allocations: 46.42 kB / 0.5872 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.169, allocations: 28.91 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/0.1691, allocations: 81.09 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1691, allocations: 34.56 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1691, allocations: 0 / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.1695, allocations: 81.64 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1695, allocations: 59.47 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.1696, allocations: 97.86 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1696, allocations: 25.7 kB / 0.5875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.1697, allocations: 88.12 kB / 0.5876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1697, allocations: 3.906 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1697, allocations: 17.72 kB / 0.5877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1699, allocations: 310.8 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.17, allocations: 19.98 kB / 0.588 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.17, allocations: 19.97 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1702, allocations: 32.83 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1702, allocations: 3.938 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.1704, allocations: 81.56 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1704, allocations: 10.34 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1705, allocations: 0 / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1705, allocations: 0 / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.1706, allocations: 7.984 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1706, allocations: 0 / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.1706, allocations: 4 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1706, allocations: 4 kB / 0.5881 GB, free: 444 kB / 494.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 (2): * Single equations (assignments): 2 * 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 7.075e-05/0.1707, allocations: 117.8 kB / 0.5882 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1707, allocations: 3.984 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.171, allocations: 72.78 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.171, allocations: 3.938 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.171, allocations: 0 / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.171, allocations: 0 / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1712, allocations: 157.9 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1712, allocations: 7.938 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.1712, allocations: 20 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1713, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1713, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1713, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1713, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1715, allocations: 163.5 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1716, allocations: 85.05 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1716, allocations: 3.984 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.1717, allocations: 4 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1717, allocations: 3.984 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1717, allocations: 8 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.1718, allocations: 79.28 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1718, allocations: 0 / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.172, allocations: 8 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005527/0.1726, allocations: 0.7085 MB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1728, allocations: 39.95 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1728, allocations: 4.094 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.1729, allocations: 19.92 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1732, allocations: 0 / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.1736, allocations: 151.1 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1738, allocations: 0.6768 MB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1738, allocations: 4.062 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1739, allocations: 11.44 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1739, allocations: 0 / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.1904, allocations: 1.408 MB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.63, allocations: 10.89 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)