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.001617/0.001617, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001869, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.61 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3868, allocations: 80.2 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001663/0.3885, allocations: 0.5905 MB / 0.5808 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002961/0.3888, allocations: 89.77 kB / 0.5809 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.3888, allocations: 0 / 0.5809 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.498e-06/0.3888, allocations: 3.938 kB / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.3889, allocations: 0.8438 kB / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3892, allocations: 39.03 kB / 0.5809 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.133e-05/0.3892, allocations: 6.172 kB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3892, allocations: 1.375 kB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.217e-05/0.3893, allocations: 0.6094 kB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.546e-05/0.3893, allocations: 5.312 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3893, allocations: 0 / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3894, allocations: 40.16 kB / 0.581 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.735e-06/0.3894, allocations: 1.375 kB / 0.581 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.3895, allocations: 0 / 0.581 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.3896, allocations: 24.06 kB / 0.581 GB, free: 4.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3896, allocations: 0.7031 kB / 0.581 GB, free: 4.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3896, allocations: 4 kB / 0.581 GB, free: 4.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3896, allocations: 1.344 kB / 0.581 GB, free: 4.113 MB / 430.1 MB 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.0001806/0.3898, allocations: 313.2 kB / 0.5813 GB, free: 3.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3898, allocations: 10.67 kB / 0.5813 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.815e-05/0.3898, allocations: 34.75 kB / 0.5813 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3899, allocations: 1.656 kB / 0.5813 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.637e-05/0.3899, allocations: 161.8 kB / 0.5815 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.39, allocations: 1.094 kB / 0.5815 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.39, allocations: 1.5 kB / 0.5815 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/0.39, allocations: 36.81 kB / 0.5815 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3901, allocations: 4.625 kB / 0.5815 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.3901, allocations: 0 / 0.5815 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3901, allocations: 0.6562 kB / 0.5815 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.3901, allocations: 2.641 kB / 0.5815 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.061e-05/0.3902, allocations: 152 kB / 0.5817 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.916e-05/0.3902, allocations: 16.95 kB / 0.5817 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.3902, allocations: 6.266 kB / 0.5817 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.3904, allocations: 92.81 kB / 0.5818 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3904, allocations: 39.97 kB / 0.5818 GB, free: 3.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3904, allocations: 0 / 0.5818 GB, free: 3.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.3906, allocations: 39.36 kB / 0.5819 GB, free: 3.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.3906, allocations: 52.19 kB / 0.5819 GB, free: 3.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.171e-05/0.3906, allocations: 89.86 kB / 0.582 GB, free: 2.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.3906, allocations: 26.39 kB / 0.582 GB, free: 2.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-06/0.3906, allocations: 84.27 kB / 0.5821 GB, free: 2.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3906, allocations: 5.203 kB / 0.5821 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.3907, allocations: 11.92 kB / 0.5821 GB, free: 2.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.3907, allocations: 312.4 kB / 0.5824 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.3907, allocations: 0.8438 kB / 0.5824 GB, free: 2.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.3907, allocations: 5.688 kB / 0.5824 GB, free: 2.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.05e-05/0.3908, allocations: 11.72 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.3908, allocations: 5 kB / 0.5824 GB, free: 2.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.36e-05/0.3908, allocations: 31.89 kB / 0.5825 GB, free: 2.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3908, allocations: 5.609 kB / 0.5825 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3909, allocations: 3.938 kB / 0.5825 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3909, allocations: 0.8438 kB / 0.5825 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.3909, allocations: 2.375 kB / 0.5825 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3909, allocations: 1.484 kB / 0.5825 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.3909, allocations: 0 / 0.5825 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3909, allocations: 0.75 kB / 0.5825 GB, free: 2.402 MB / 430.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 (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 3.621e-05/0.391, allocations: 111.6 kB / 0.5826 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.391, allocations: 1.438 kB / 0.5826 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-05/0.3911, allocations: 47.02 kB / 0.5826 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3911, allocations: 0 / 0.5826 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3911, allocations: 1.969 kB / 0.5826 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3911, allocations: 0 / 0.5826 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.494e-05/0.3911, allocations: 148.8 kB / 0.5828 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3911, allocations: 3.984 kB / 0.5828 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.3912, allocations: 2.172 kB / 0.5828 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3912, allocations: 1.406 kB / 0.5828 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.3912, allocations: 8.688 kB / 0.5828 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3912, allocations: 0 / 0.5828 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3912, allocations: 1.375 kB / 0.5828 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.432e-05/0.3913, allocations: 64.3 kB / 0.5829 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3913, allocations: 79.52 kB / 0.5829 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.3913, allocations: 4.594 kB / 0.5829 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-06/0.3913, allocations: 0 / 0.5829 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.3913, allocations: 5.922 kB / 0.5829 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3913, allocations: 0 / 0.5829 GB, free: 1.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.548e-06/0.3913, allocations: 76.78 kB / 0.583 GB, free: 1.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3913, allocations: 3.938 kB / 0.583 GB, free: 1.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3915, allocations: 11.31 kB / 0.583 GB, free: 1.777 MB / 430.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 (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.0002707/0.3918, allocations: 0.6102 MB / 0.5836 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.989e-05/0.3919, allocations: 12.78 kB / 0.5836 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3919, allocations: 0 / 0.5836 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.3919, allocations: 2.922 kB / 0.5836 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.392, allocations: 1.719 kB / 0.5836 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.3923, allocations: 111.5 kB / 0.5838 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.3924, allocations: 0.6717 MB / 0.5844 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.969e-06/0.3924, allocations: 1.828 kB / 0.5844 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.045e-05/0.3924, allocations: 7.438 kB / 0.5844 GB, free: 336 kB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3924, allocations: 0 / 0.5844 GB, free: 336 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4104, allocations: 1.115 MB / 0.5855 GB, free: 4 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.514, allocations: 7.484 kB / 0.5855 GB, free: 4 kB / 430.1 MB (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)