Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_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.005653/0.005653, allocations: 99.45 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.001129/0.00113, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7831/0.7831, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.3 kB / 0.5852 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1977, allocations: 80.91 MB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001988/0.1998, allocations: 0.5758 MB / 0.6648 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.2002, allocations: 110.1 kB / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.2003, allocations: 0 / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.2003, allocations: 0 / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-06/0.2003, allocations: 0 / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.2008, allocations: 23.92 kB / 0.6649 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.2008, allocations: 8 kB / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.2009, allocations: 352 / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.2009, allocations: 7.984 kB / 0.6649 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.2009, allocations: 0 / 0.6649 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.201, allocations: 0 / 0.6649 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.2012, allocations: 35.91 kB / 0.6649 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.2012, allocations: 4 kB / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.2012, allocations: 0 / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2014, allocations: 32.22 kB / 0.665 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2014, allocations: 4 kB / 0.665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2014, allocations: 0 / 0.665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2014, allocations: 0 / 0.665 GB, free: 5.445 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.000388/0.2018, allocations: 323.4 kB / 0.6653 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2019, allocations: 9.109 kB / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.2019, allocations: 34.75 kB / 0.6653 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.202, allocations: 4.938 kB / 0.6653 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2021, allocations: 168.3 kB / 0.6655 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2021, allocations: 384 / 0.6655 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2022, allocations: 384 / 0.6655 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.2023, allocations: 30.27 kB / 0.6655 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2023, allocations: 7.938 kB / 0.6655 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2023, allocations: 0 / 0.6655 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2023, allocations: 4 kB / 0.6655 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.2023, allocations: 4 kB / 0.6655 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.2025, allocations: 149.6 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.2026, allocations: 22.55 kB / 0.6657 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.2026, allocations: 4.859 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.2028, allocations: 93.14 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2029, allocations: 34.56 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2029, allocations: 0 / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.203, allocations: 37.64 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2031, allocations: 51.41 kB / 0.6659 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.2031, allocations: 89.86 kB / 0.666 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2032, allocations: 25.7 kB / 0.666 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.2032, allocations: 84.08 kB / 0.6661 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2032, allocations: 0 / 0.6661 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.2033, allocations: 25.83 kB / 0.6661 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2034, allocations: 310.8 kB / 0.6664 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.2034, allocations: 0 / 0.6664 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.2034, allocations: 0 / 0.6664 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.2035, allocations: 8.859 kB / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2035, allocations: 0 / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.362e-05/0.2035, allocations: 33.66 kB / 0.6665 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2036, allocations: 8 kB / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2036, allocations: 8.031 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2036, allocations: 0 / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.2037, allocations: 11.92 kB / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2037, allocations: 0 / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/0.2037, allocations: 3.938 kB / 0.6665 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2037, allocations: 4 kB / 0.6665 GB, free: 3.633 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.769e-05/0.2038, allocations: 105.8 kB / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2038, allocations: 0 / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-05/0.2039, allocations: 44.75 kB / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2039, allocations: 0 / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2039, allocations: 0 / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2039, allocations: 0 / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.204, allocations: 149.7 kB / 0.6668 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.204, allocations: 0 / 0.6668 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.2041, allocations: 0 / 0.6668 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2041, allocations: 0 / 0.6668 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2041, allocations: 3.938 kB / 0.6668 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2041, allocations: 8 kB / 0.6668 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2041, allocations: 7.922 kB / 0.6668 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.869e-05/0.2042, allocations: 53.17 kB / 0.6669 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2042, allocations: 77.11 kB / 0.6669 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2043, allocations: 11.94 kB / 0.6669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.2043, allocations: 3.938 kB / 0.6669 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.2043, allocations: 3.984 kB / 0.6669 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.2043, allocations: 0 / 0.6669 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.2043, allocations: 75.28 kB / 0.667 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2043, allocations: 4.031 kB / 0.667 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000213/0.2046, allocations: 11.94 kB / 0.667 GB, free: 2.977 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.0004993/0.2051, allocations: 0.6098 MB / 0.6676 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.2051, allocations: 4 kB / 0.6676 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2052, allocations: 0 / 0.6676 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-06/0.2052, allocations: 0 / 0.6676 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2053, allocations: 7.938 kB / 0.6676 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.2056, allocations: 110.5 kB / 0.6677 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2059, allocations: 0.6729 MB / 0.6684 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.2059, allocations: 0 / 0.6684 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.206, allocations: 15.44 kB / 0.6684 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.206, allocations: 4 kB / 0.6684 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2246, allocations: 1.142 MB / 0.6695 GB, free: 424 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.859, allocations: 4.062 kB / 0.6695 GB, free: 420 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)