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.007557/0.007557, allocations: 98.56 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.001826/0.001826, allocations: 196 kB / 16.68 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4532, allocations: 80.92 MB / 0.6642 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002184/0.4554, allocations: 1.421 MB / 0.6656 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.4558, allocations: 172.8 kB / 0.6657 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.4559, allocations: 0 / 0.6657 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.4559, allocations: 0 / 0.6657 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.456, allocations: 9.047 kB / 0.6657 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.4563, allocations: 34.38 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.4564, allocations: 19.56 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.4565, allocations: 7.703 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.4565, allocations: 11.5 kB / 0.6658 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.4565, allocations: 10.77 kB / 0.6658 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4566, allocations: 6.359 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.4567, allocations: 41.56 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.4567, allocations: 9.094 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.4567, allocations: 9.312 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.4569, allocations: 48.12 kB / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4569, allocations: 0 / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4569, allocations: 0 / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4569, allocations: 0 / 0.6659 GB, free: 5.863 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.0003714/0.4573, allocations: 347.5 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4573, allocations: 9.812 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.623e-05/0.4573, allocations: 32.28 kB / 0.6663 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.4574, allocations: 10.19 kB / 0.6663 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.4575, allocations: 165.5 kB / 0.6665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4575, allocations: 384 / 0.6665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.4575, allocations: 5.734 kB / 0.6665 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4577, allocations: 54.27 kB / 0.6665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4577, allocations: 3.938 kB / 0.6665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4577, allocations: 4 kB / 0.6665 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4577, allocations: 1.344 kB / 0.6665 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4579, allocations: 30.56 kB / 0.6666 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.4581, allocations: 252 kB / 0.6668 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4583, allocations: 43.38 kB / 0.6668 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.4583, allocations: 22.34 kB / 0.6669 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.4585, allocations: 85.16 kB / 0.6669 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4585, allocations: 31.88 kB / 0.667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4585, allocations: 0 / 0.667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.4589, allocations: 84.17 kB / 0.6671 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.4589, allocations: 53 kB / 0.6671 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.459, allocations: 102 kB / 0.6672 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.459, allocations: 30.98 kB / 0.6672 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.459, allocations: 80.14 kB / 0.6673 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.459, allocations: 13.11 kB / 0.6673 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.4591, allocations: 16.62 kB / 0.6673 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.4591, allocations: 316.4 kB / 0.6676 GB, free: 4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.4592, allocations: 20.7 kB / 0.6677 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.4593, allocations: 13.52 kB / 0.6677 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4594, allocations: 39.84 kB / 0.6677 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4594, allocations: 3.938 kB / 0.6677 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.4596, allocations: 67.61 kB / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4597, allocations: 5.969 kB / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4597, allocations: 0 / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4597, allocations: 0 / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.4598, allocations: 10.67 kB / 0.6678 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4598, allocations: 3.938 kB / 0.6678 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.4598, allocations: 7.328 kB / 0.6678 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4599, allocations: 1.094 kB / 0.6678 GB, free: 3.895 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 4.899e-05/0.4599, allocations: 116 kB / 0.6679 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.4599, allocations: 5.031 kB / 0.6679 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.4602, allocations: 73.98 kB / 0.668 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4602, allocations: 1.125 kB / 0.668 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4602, allocations: 0 / 0.668 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4602, allocations: 1.094 kB / 0.668 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.4603, allocations: 161.8 kB / 0.6681 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4603, allocations: 0 / 0.6681 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.4604, allocations: 14.61 kB / 0.6682 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4604, allocations: 0 / 0.6682 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4604, allocations: 1.406 kB / 0.6682 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4604, allocations: 0 / 0.6682 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4604, allocations: 7.938 kB / 0.6682 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4606, allocations: 168 kB / 0.6683 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.4606, allocations: 77.11 kB / 0.6684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4606, allocations: 1.375 kB / 0.6684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.4607, allocations: 6.859 kB / 0.6684 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.4608, allocations: 1.219 kB / 0.6684 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4608, allocations: 1.625 kB / 0.6684 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.964e-05/0.4608, allocations: 85.95 kB / 0.6685 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4608, allocations: 1.156 kB / 0.6685 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002377/0.461, allocations: 13.64 kB / 0.6685 GB, free: 3.148 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.0004232/0.4615, allocations: 0.7133 MB / 0.6692 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4617, allocations: 45.45 kB / 0.6692 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4617, allocations: 0 / 0.6692 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.4618, allocations: 15.67 kB / 0.6693 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4621, allocations: 7.469 kB / 0.6693 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.4625, allocations: 136.8 kB / 0.6694 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.895e-05/0.4626, allocations: 0.6816 MB / 0.6701 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.4626, allocations: 1.281 kB / 0.6701 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.4626, allocations: 8.938 kB / 0.6701 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4626, allocations: 0 / 0.6701 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.4806, allocations: 1.507 MB / 0.6715 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/8.02, allocations: 9.969 kB / 0.6716 GB, free: 0.6992 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)