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.005237/0.005237, allocations: 102.1 kB / 15.73 MB, free: 6 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.001352/0.001352, allocations: 186 kB / 16.67 MB, free: 5.926 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.506/1.506, 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.9081/0.9081, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 72.3 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 81.01 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002564/0.1655, allocations: 1.438 MB / 0.6663 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.166, allocations: 196.3 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.166, allocations: 0 / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1661, allocations: 3.938 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.1661, allocations: 3.938 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1664, allocations: 35.91 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.1665, allocations: 31.91 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.1666, allocations: 7.984 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.1666, allocations: 7.938 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.1667, allocations: 11.98 kB / 0.6665 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1667, allocations: 4 kB / 0.6666 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.1668, allocations: 35.97 kB / 0.6666 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1668, allocations: 3.938 kB / 0.6666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.1668, allocations: 11.94 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.167, allocations: 40.14 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.167, allocations: 8 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.167, allocations: 3.938 kB / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.167, allocations: 0 / 0.6667 GB, free: 3.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005082/0.1675, allocations: 343.4 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1676, allocations: 9.109 kB / 0.667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.1676, allocations: 34.75 kB / 0.667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1676, allocations: 0.9375 kB / 0.667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1678, allocations: 172.3 kB / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1678, allocations: 384 / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1678, allocations: 4.375 kB / 0.6672 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.168, allocations: 50.19 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.168, allocations: 7.922 kB / 0.6672 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1681, allocations: 7.922 kB / 0.6673 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1681, allocations: 4 kB / 0.6673 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1682, allocations: 27.97 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1686, allocations: 252.9 kB / 0.6675 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1688, allocations: 46.44 kB / 0.6676 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.1689, allocations: 20.91 kB / 0.6676 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.169, allocations: 85.09 kB / 0.6677 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.169, allocations: 30.56 kB / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.169, allocations: 4 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.1694, allocations: 81.64 kB / 0.6678 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1694, allocations: 51.41 kB / 0.6678 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1695, allocations: 102 kB / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1696, allocations: 25.7 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.1696, allocations: 88.12 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1697, allocations: 12.02 kB / 0.668 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1697, allocations: 13.72 kB / 0.6681 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1699, allocations: 310.8 kB / 0.6684 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.17, allocations: 19.98 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.1701, allocations: 24.03 kB / 0.6684 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1702, allocations: 40.89 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1702, allocations: 3.938 kB / 0.6684 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.1705, allocations: 69.61 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1705, allocations: 4 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1705, allocations: 3.938 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1705, allocations: 0 / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.1706, allocations: 15.92 kB / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1706, allocations: 4.031 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1707, allocations: 4 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1707, allocations: 0 / 0.6685 GB, free: 1.566 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 (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 8.537e-05/0.1708, allocations: 113.8 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1708, allocations: 7.984 kB / 0.6687 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1711, allocations: 64.78 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1711, allocations: 32 / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1711, allocations: 4 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1711, allocations: 4 kB / 0.6687 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1713, allocations: 161.6 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1713, allocations: 3.984 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.1713, allocations: 8 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1714, allocations: 4 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1714, allocations: 0 / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1714, allocations: 3.938 kB / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1714, allocations: 0 / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1717, allocations: 167.4 kB / 0.6691 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1717, allocations: 85.05 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1717, allocations: 0 / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.1718, allocations: 8 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1719, allocations: 7.984 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1719, allocations: 0 / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.1719, allocations: 87.31 kB / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1719, allocations: 0 / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000236/0.1722, allocations: 11.94 kB / 0.6692 GB, free: 0.7344 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.0006379/0.1728, allocations: 0.7124 MB / 0.6699 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1731, allocations: 31.97 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1731, allocations: 0 / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.1732, allocations: 15.98 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1735, allocations: 8 kB / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.1739, allocations: 147.1 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1742, allocations: 0.6806 MB / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.1742, allocations: 0 / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1743, allocations: 11.44 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1743, allocations: 0 / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1969, allocations: 1.439 MB / 0.6722 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.1, allocations: 0.5938 kB / 0.6722 GB, free: 13.67 MB / 0.5137 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)