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.007364/0.007364, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001808/0.001809, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8319/0.8319, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 69.89 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1619, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001619/0.1635, allocations: 0.5739 MB / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.1639, allocations: 106.1 kB / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.1639, allocations: 0 / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.1639, allocations: 0 / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1639, allocations: 0 / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1642, allocations: 31.91 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.572e-05/0.1643, allocations: 4 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1643, allocations: 4.344 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.1644, allocations: 0 / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.1644, allocations: 4 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1644, allocations: 0 / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1645, allocations: 39.89 kB / 0.66 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1646, allocations: 4 kB / 0.66 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.1646, allocations: 3.984 kB / 0.66 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1647, allocations: 24.25 kB / 0.66 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1647, allocations: 0 / 0.66 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1647, allocations: 3.938 kB / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1647, allocations: 0 / 0.66 GB, free: 9.941 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.0003161/0.1651, allocations: 323.4 kB / 0.6603 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1651, allocations: 12.03 kB / 0.6603 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.1651, allocations: 38.69 kB / 0.6604 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1652, allocations: 4.922 kB / 0.6604 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1653, allocations: 160.4 kB / 0.6605 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-06/0.1653, allocations: 384 / 0.6605 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.1653, allocations: 384 / 0.6605 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.1654, allocations: 38.27 kB / 0.6606 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1654, allocations: 3.938 kB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1655, allocations: 4 kB / 0.6606 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1655, allocations: 0 / 0.6606 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.1655, allocations: 0 / 0.6606 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1656, allocations: 149.7 kB / 0.6607 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.362e-05/0.1657, allocations: 18.52 kB / 0.6607 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1657, allocations: 4.859 kB / 0.6607 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.1659, allocations: 89.19 kB / 0.6608 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1659, allocations: 38.56 kB / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.166, allocations: 0 / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.1661, allocations: 33.64 kB / 0.6609 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1661, allocations: 55.34 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1662, allocations: 89.86 kB / 0.661 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1662, allocations: 25.7 kB / 0.6611 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1662, allocations: 80.14 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1663, allocations: 12.06 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1663, allocations: 17.72 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1664, allocations: 310.8 kB / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.1665, allocations: 0 / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.1665, allocations: 4 kB / 0.6615 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.1665, allocations: 4.859 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1665, allocations: 0 / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.809e-05/0.1666, allocations: 37.7 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1666, allocations: 12.03 kB / 0.6615 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1666, allocations: 7.922 kB / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1666, allocations: 0 / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.32e-05/0.1667, allocations: 0 / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1667, allocations: 4 kB / 0.6615 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.1667, allocations: 3.938 kB / 0.6615 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1667, allocations: 0 / 0.6615 GB, free: 8.137 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.267e-05/0.1668, allocations: 105.8 kB / 0.6616 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1668, allocations: 0 / 0.6616 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.1669, allocations: 52.67 kB / 0.6617 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1669, allocations: 4 kB / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1669, allocations: 0 / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1669, allocations: 0 / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.167, allocations: 145.7 kB / 0.6618 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.167, allocations: 0 / 0.6618 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.167, allocations: 4 kB / 0.6618 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1671, allocations: 3.938 kB / 0.6618 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1671, allocations: 7.922 kB / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1671, allocations: 4 kB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1671, allocations: 4.031 kB / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.618e-05/0.1672, allocations: 53.14 kB / 0.6619 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.1672, allocations: 81.11 kB / 0.662 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1672, allocations: 3.938 kB / 0.662 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.1672, allocations: 3.984 kB / 0.662 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1673, allocations: 0 / 0.662 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1673, allocations: 0 / 0.662 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.1673, allocations: 79.31 kB / 0.6621 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1673, allocations: 0 / 0.6621 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001952/0.1675, allocations: 11.94 kB / 0.6621 GB, free: 7.477 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.0004349/0.1679, allocations: 0.6124 MB / 0.6627 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.168, allocations: 4 kB / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.168, allocations: 0 / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.168, allocations: 0 / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1682, allocations: 7.984 kB / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.1684, allocations: 110.5 kB / 0.6628 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1687, allocations: 0.669 MB / 0.6634 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.096e-05/0.1687, allocations: 4.125 kB / 0.6634 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.1688, allocations: 15.36 kB / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1688, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.189, allocations: 1.134 MB / 0.6646 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.826, allocations: 13.55 kB / 0.6646 GB, free: 4.941 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)