Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",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.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001527/0.001527, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8987/0.8987, allocations: 135.1 MB / 425.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 60.75 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1612, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002527/0.1637, allocations: 1.482 MB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000413/0.1642, allocations: 164.4 kB / 0.5854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1642, allocations: 4 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.1642, allocations: 3.938 kB / 0.5854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.1643, allocations: 0 / 0.5854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1645, allocations: 31.92 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.1646, allocations: 27.86 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.1647, allocations: 4 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1647, allocations: 15.92 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.1648, allocations: 11.97 kB / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1648, allocations: 0 / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1649, allocations: 43.91 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.165, allocations: 7.938 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.165, allocations: 4 kB / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1651, allocations: 47.86 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1651, allocations: 4 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1651, allocations: 0 / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1651, allocations: 0 / 0.5856 GB, free: 3.055 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.0004302/0.1656, allocations: 339.7 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1656, allocations: 12.03 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.591e-05/0.1657, allocations: 34.75 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1658, allocations: 4.938 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1659, allocations: 164.4 kB / 0.5861 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1659, allocations: 4.359 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1659, allocations: 8.297 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1662, allocations: 46.25 kB / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1662, allocations: 3.938 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1662, allocations: 0 / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1662, allocations: 3.984 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1664, allocations: 39.91 kB / 0.5862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1667, allocations: 244.9 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1668, allocations: 46.42 kB / 0.5865 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.1669, allocations: 24.91 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1671, allocations: 85.09 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1672, allocations: 34.56 kB / 0.5867 GB, free: 1.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1672, allocations: 0 / 0.5867 GB, free: 1.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003712/0.1675, allocations: 77.64 kB / 0.5867 GB, free: 1.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1676, allocations: 59.53 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.1677, allocations: 101.8 kB / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1677, allocations: 29.7 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.1677, allocations: 80.14 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1678, allocations: 3.906 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1678, allocations: 13.72 kB / 0.587 GB, free: 1.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1679, allocations: 314.8 kB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.168, allocations: 19.97 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.1681, allocations: 19.98 kB / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1682, allocations: 36.83 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1682, allocations: 3.938 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001984/0.1684, allocations: 65.59 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1685, allocations: 12.09 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1685, allocations: 0 / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1685, allocations: 3.938 kB / 0.5875 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.1686, allocations: 7.984 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1686, allocations: 4 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1686, allocations: 3.984 kB / 0.5875 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1686, allocations: 8 kB / 0.5875 GB, free: 0.8789 MB / 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 6.384e-05/0.1687, allocations: 113.8 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1688, allocations: 4 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.169, allocations: 72.69 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.169, allocations: 0 / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.169, allocations: 0 / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.169, allocations: 0 / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1692, allocations: 165.5 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1692, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.1692, allocations: 11.94 kB / 0.5878 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1692, allocations: 7.969 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1692, allocations: 3.984 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1692, allocations: 0 / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1693, allocations: 0 / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1695, allocations: 163.5 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1695, allocations: 77.11 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1696, allocations: 8.031 kB / 0.5881 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1696, allocations: 4 kB / 0.5881 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1697, allocations: 8.172 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1697, allocations: 0 / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.1697, allocations: 83.27 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1697, allocations: 0 / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.17, allocations: 12 kB / 0.5882 GB, free: 60 kB / 494.1 MB 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.0006048/0.1706, allocations: 0.7123 MB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1708, allocations: 43.98 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1708, allocations: 0 / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.1709, allocations: 19.98 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1711, allocations: 0 / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.1715, allocations: 152.7 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1718, allocations: 0.677 MB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1718, allocations: 4.125 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1718, allocations: 15.38 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1718, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.1825, allocations: 1.302 MB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.1827, allocations: 198.9 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.793, allocations: 4 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)