Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.009442/0.009441, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.002188/0.002188, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.88/0.88, allocations: 132.2 MB / 422.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 64.16 kB / 0.5809 GB, free: 1.055 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1924, allocations: 80.2 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002447/0.1949, allocations: 0.572 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004293/0.1954, allocations: 103.6 kB / 0.6599 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1954, allocations: 4 kB / 0.6599 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1954, allocations: 3.938 kB / 0.6599 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.1955, allocations: 0 / 0.6599 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1959, allocations: 23.92 kB / 0.6599 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.196, allocations: 11.98 kB / 0.6599 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.196, allocations: 352 / 0.6599 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.196, allocations: 0 / 0.6599 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.864e-05/0.1961, allocations: 0 / 0.6599 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1961, allocations: 0 / 0.6599 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.1963, allocations: 39.89 kB / 0.66 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1963, allocations: 4 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1963, allocations: 8 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1965, allocations: 28.23 kB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1965, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1965, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1965, allocations: 0 / 0.66 GB, free: 13.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003608/0.1969, allocations: 321.5 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1969, allocations: 11.97 kB / 0.6603 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.197, allocations: 30.75 kB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.197, allocations: 4.938 kB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.1971, allocations: 162.8 kB / 0.6605 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1972, allocations: 4.375 kB / 0.6605 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1972, allocations: 384 / 0.6605 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1973, allocations: 34.2 kB / 0.6606 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1973, allocations: 7.938 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1973, allocations: 7.984 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1974, allocations: 3.984 kB / 0.6606 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.1974, allocations: 0 / 0.6606 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1976, allocations: 145.6 kB / 0.6607 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.1976, allocations: 22.61 kB / 0.6607 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.1976, allocations: 4.859 kB / 0.6607 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.1979, allocations: 89.16 kB / 0.6608 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1979, allocations: 34.5 kB / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.1979, allocations: 0 / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.1981, allocations: 41.62 kB / 0.6609 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1982, allocations: 51.53 kB / 0.6609 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.589e-05/0.1982, allocations: 93.86 kB / 0.661 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1982, allocations: 25.7 kB / 0.6611 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1983, allocations: 80.14 kB / 0.6611 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1983, allocations: 7.953 kB / 0.6611 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1983, allocations: 13.72 kB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1985, allocations: 310.8 kB / 0.6615 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.1985, allocations: 0 / 0.6615 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.1985, allocations: 0 / 0.6615 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.1985, allocations: 16.86 kB / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1985, allocations: 0 / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.049e-05/0.1986, allocations: 37.69 kB / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1986, allocations: 8 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1986, allocations: 3.938 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1987, allocations: 0 / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.1987, allocations: 4 kB / 0.6615 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1987, allocations: 0 / 0.6615 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.1987, allocations: 0 / 0.6615 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1988, allocations: 11.97 kB / 0.6615 GB, free: 11.32 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 (1): * Single equations (assignments): 1 * 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.012e-05/0.1988, allocations: 105.8 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1989, allocations: 0 / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.199, allocations: 48.67 kB / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.199, allocations: 0 / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.199, allocations: 0 / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.199, allocations: 0 / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1991, allocations: 153.7 kB / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1991, allocations: 4.031 kB / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.1991, allocations: 0 / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1991, allocations: 0 / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1991, allocations: 7.938 kB / 0.6618 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1992, allocations: 0 / 0.6618 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1992, allocations: 0 / 0.6618 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.855e-05/0.1993, allocations: 61.06 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.1993, allocations: 77.11 kB / 0.662 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1993, allocations: 11.97 kB / 0.662 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.1993, allocations: 3.938 kB / 0.662 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1994, allocations: 0 / 0.662 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.1994, allocations: 0 / 0.662 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.1994, allocations: 75.28 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1994, allocations: 0 / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.1996, allocations: 11.94 kB / 0.6621 GB, free: 10.66 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 (1): * Single equations (assignments): 1 * 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.0004667/0.2001, allocations: 0.6085 MB / 0.6627 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.831e-05/0.2002, allocations: 3.938 kB / 0.6627 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2002, allocations: 4 kB / 0.6627 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.2002, allocations: 0 / 0.6627 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2003, allocations: 4.156 kB / 0.6627 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2007, allocations: 106.5 kB / 0.6628 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2009, allocations: 0.6768 MB / 0.6634 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.2009, allocations: 0 / 0.6634 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.2009, allocations: 7.438 kB / 0.6634 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2009, allocations: 3.938 kB / 0.6635 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.2201, allocations: 1.14 MB / 0.6646 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.598, allocations: 15.11 kB / 0.6646 GB, free: 8.137 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)