Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_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.005629/0.005629, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001323/0.001323, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7618/0.7618, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.171, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002911/0.174, allocations: 1.423 MB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.1745, allocations: 168.2 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.1745, allocations: 0 / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1746, allocations: 0 / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.1746, allocations: 3.938 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.175, allocations: 39.91 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.175, allocations: 23.92 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.1751, allocations: 11.98 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.1752, allocations: 11.92 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.1752, allocations: 4 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1752, allocations: 4 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1754, allocations: 35.91 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1754, allocations: 7.984 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1754, allocations: 7.938 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1756, allocations: 52.09 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1756, allocations: 0 / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1756, allocations: 0 / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1756, allocations: 0 / 0.6609 GB, free: 12.16 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.0004937/0.1761, allocations: 343.4 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1762, allocations: 8.031 kB / 0.6613 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.1762, allocations: 38.73 kB / 0.6613 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1763, allocations: 4.938 kB / 0.6613 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1764, allocations: 164.3 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1764, allocations: 8.375 kB / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.1764, allocations: 384 / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1766, allocations: 50.23 kB / 0.6615 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1766, allocations: 3.938 kB / 0.6615 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1766, allocations: 4 kB / 0.6615 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1767, allocations: 0 / 0.6615 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1768, allocations: 39.89 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1772, allocations: 248.9 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1773, allocations: 42.44 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.1774, allocations: 24.89 kB / 0.6619 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1776, allocations: 93.06 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1776, allocations: 34.56 kB / 0.662 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1776, allocations: 0 / 0.662 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.178, allocations: 85.58 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1781, allocations: 51.41 kB / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.1781, allocations: 97.86 kB / 0.6622 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1781, allocations: 29.7 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1782, allocations: 88.2 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.1782, allocations: 7.938 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1783, allocations: 13.72 kB / 0.6624 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.1784, allocations: 318.8 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.282e-05/0.1784, allocations: 11.98 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1785, allocations: 19.98 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1787, allocations: 40.88 kB / 0.6627 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1787, allocations: 3.938 kB / 0.6627 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000224/0.1789, allocations: 69.59 kB / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1789, allocations: 4 kB / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.179, allocations: 4 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.179, allocations: 0 / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.1791, allocations: 8.031 kB / 0.6628 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1791, allocations: 3.984 kB / 0.6628 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.1791, allocations: 4 kB / 0.6628 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.1791, allocations: 0 / 0.6628 GB, free: 9.98 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 7.236e-05/0.1792, allocations: 117.8 kB / 0.6629 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1793, allocations: 3.953 kB / 0.6629 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1795, allocations: 76.77 kB / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1795, allocations: 0 / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1795, allocations: 0 / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1795, allocations: 3.938 kB / 0.663 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1797, allocations: 157.6 kB / 0.6632 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1797, allocations: 0 / 0.6632 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.1798, allocations: 11.98 kB / 0.6632 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1798, allocations: 3.938 kB / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1798, allocations: 4 kB / 0.6632 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1798, allocations: 0 / 0.6632 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1798, allocations: 0 / 0.6632 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1801, allocations: 163.5 kB / 0.6633 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1801, allocations: 77.11 kB / 0.6634 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1801, allocations: 0 / 0.6634 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1802, allocations: 11.98 kB / 0.6634 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1803, allocations: 8 kB / 0.6634 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.1803, allocations: 4.031 kB / 0.6634 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.1803, allocations: 83.27 kB / 0.6635 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1803, allocations: 0 / 0.6635 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002414/0.1806, allocations: 11.94 kB / 0.6635 GB, free: 9.152 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.0006263/0.1812, allocations: 0.7123 MB / 0.6642 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1814, allocations: 31.97 kB / 0.6643 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1814, allocations: 0 / 0.6643 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/0.1815, allocations: 28.02 kB / 0.6643 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1819, allocations: 11.66 kB / 0.6643 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1823, allocations: 131 kB / 0.6644 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1825, allocations: 0.6729 MB / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1826, allocations: 7.984 kB / 0.6651 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.1826, allocations: 11.44 kB / 0.6651 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1826, allocations: 0 / 0.6651 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.2007, allocations: 1.494 MB / 0.6666 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.493, allocations: 10.91 kB / 0.6666 GB, free: 6.066 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)