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.0008307/0.0008307, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008284/0.0008284, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.52/1.52, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004234, allocations: 8 kB / 0.5069 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.17, allocations: 82.32 MB / 0.5873 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001497/0.1715, allocations: 1.136 MB / 0.5884 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.1719, allocations: 152.4 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.1719, allocations: 0 / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1719, allocations: 0 / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.172, allocations: 7.984 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1722, allocations: 31.91 kB / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.1723, allocations: 11.98 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.1724, allocations: 11.98 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.1724, allocations: 0 / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1725, allocations: 15.92 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1725, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1726, allocations: 39.95 kB / 0.5887 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1727, allocations: 0 / 0.5887 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1727, allocations: 33.64 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.1728, allocations: 27.89 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1728, allocations: 0 / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1728, allocations: 0 / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1728, allocations: 4 kB / 0.5887 GB, free: 1.586 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.0004913/0.1733, allocations: 351.5 kB / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1734, allocations: 8.031 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.1735, allocations: 30.56 kB / 0.5891 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.1735, allocations: 4 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1737, allocations: 171 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1737, allocations: 0 / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1737, allocations: 8 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1739, allocations: 53.67 kB / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1739, allocations: 0 / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1739, allocations: 11.94 kB / 0.5893 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.174, allocations: 0 / 0.5893 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1741, allocations: 47.91 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1745, allocations: 248.9 kB / 0.5896 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1746, allocations: 42.56 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.1748, allocations: 85.16 kB / 0.5897 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1749, allocations: 30.56 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1749, allocations: 0 / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003989/0.1753, allocations: 113.5 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1753, allocations: 51.41 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.1754, allocations: 101.8 kB / 0.59 GB, free: 40 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1754, allocations: 25.7 kB / 0.59 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1755, allocations: 80.14 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1755, allocations: 7.906 kB / 0.5901 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.1755, allocations: 4.125 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1756, allocations: 318.8 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.1757, allocations: 15.98 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.1758, allocations: 27.97 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.1759, allocations: 24.05 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1759, allocations: 3.938 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002441/0.1762, allocations: 77.62 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1762, allocations: 8 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1762, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1762, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.1763, allocations: 11.98 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1763, allocations: 0 / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1764, allocations: 8 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1764, allocations: 4 kB / 0.5906 GB, free: 15.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/0.1765, allocations: 117.8 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1765, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.1768, allocations: 88.7 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1768, allocations: 0 / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1768, allocations: 4.031 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1768, allocations: 0 / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1769, allocations: 161.6 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.177, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.177, allocations: 11.98 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.177, allocations: 4 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.177, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.177, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1771, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1773, allocations: 175.4 kB / 0.5911 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.1773, allocations: 81.05 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1774, allocations: 8 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.1775, allocations: 15.95 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1775, allocations: 4 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1775, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.1775, allocations: 83.27 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1775, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1778, allocations: 8 kB / 0.5913 GB, free: 14.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006261/0.1784, allocations: 0.7163 MB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1786, allocations: 51.94 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1786, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.1787, allocations: 31.98 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.1789, allocations: 4 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.1793, allocations: 138.3 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1796, allocations: 0.677 MB / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.1796, allocations: 0 / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.1796, allocations: 15.44 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1796, allocations: 4.062 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.1916, allocations: 1.223 MB / 0.5941 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.192, allocations: 179.5 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.737, allocations: 0 / 0.5943 GB, free: 11.52 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/linux/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) Environment - environmentSimulation: