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.009538/0.009538, allocations: 105.8 kB / 15.73 MB, free: 5.984 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.001214/0.001214, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 67.44 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1599, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00308/0.1631, allocations: 1.425 MB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.1638, allocations: 164.3 kB / 0.6607 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.1638, allocations: 4 kB / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.1639, allocations: 0 / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.164, allocations: 3.938 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1644, allocations: 39.89 kB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.1645, allocations: 23.92 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1646, allocations: 4 kB / 0.6608 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.1646, allocations: 15.92 kB / 0.6608 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.1647, allocations: 7.984 kB / 0.6608 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1647, allocations: 4 kB / 0.6608 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1649, allocations: 39.95 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1649, allocations: 11.88 kB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1649, allocations: 4 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1651, allocations: 51.86 kB / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1651, allocations: 0 / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1651, allocations: 0 / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.1651, allocations: 0 / 0.6609 GB, free: 8.938 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.0005308/0.1656, allocations: 346.3 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1657, allocations: 12.03 kB / 0.6613 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.1658, allocations: 30.75 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.1658, allocations: 4.938 kB / 0.6613 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.166, allocations: 160.4 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.166, allocations: 4.375 kB / 0.6615 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.166, allocations: 4.375 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1662, allocations: 54.17 kB / 0.6615 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1662, allocations: 3.938 kB / 0.6615 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1662, allocations: 3.938 kB / 0.6615 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1663, allocations: 0 / 0.6615 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1664, allocations: 35.95 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1668, allocations: 240.9 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.167, allocations: 46.53 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.1671, allocations: 28.78 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.1673, allocations: 89.09 kB / 0.662 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1673, allocations: 30.56 kB / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1673, allocations: 0 / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.1677, allocations: 85.55 kB / 0.6621 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1677, allocations: 55.53 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.1678, allocations: 101.8 kB / 0.6622 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1679, allocations: 29.7 kB / 0.6623 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.1679, allocations: 84.14 kB / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1679, allocations: 4.75 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.168, allocations: 13.72 kB / 0.6623 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1681, allocations: 314.8 kB / 0.6626 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.1682, allocations: 19.91 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.1683, allocations: 23.98 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1684, allocations: 32.83 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1684, allocations: 3.938 kB / 0.6627 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.1686, allocations: 65.66 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1686, allocations: 8.094 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1686, allocations: 0 / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1687, allocations: 8 kB / 0.6628 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.1688, allocations: 7.984 kB / 0.6628 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1688, allocations: 0 / 0.6628 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.1688, allocations: 7.938 kB / 0.6628 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1688, allocations: 3.938 kB / 0.6628 GB, free: 6.762 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 8.576e-05/0.1689, allocations: 121.8 kB / 0.6629 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.169, allocations: 4 kB / 0.6629 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.1692, allocations: 64.78 kB / 0.663 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1692, allocations: 4 kB / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1692, allocations: 0 / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1692, allocations: 0 / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1694, allocations: 161.6 kB / 0.6632 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1694, allocations: 3.938 kB / 0.6632 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.1695, allocations: 4 kB / 0.6632 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1695, allocations: 8.031 kB / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1695, allocations: 0 / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1695, allocations: 0 / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1695, allocations: 0 / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1697, allocations: 167.4 kB / 0.6633 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1698, allocations: 85 kB / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1698, allocations: 4.031 kB / 0.6634 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1699, allocations: 4 kB / 0.6634 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1699, allocations: 7.984 kB / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.1699, allocations: 7.938 kB / 0.6634 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.17, allocations: 79.28 kB / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.17, allocations: 0 / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002425/0.1702, allocations: 8 kB / 0.6635 GB, free: 5.938 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.0006512/0.1709, allocations: 0.7107 MB / 0.6642 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1711, allocations: 36 kB / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1711, allocations: 0 / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1712, allocations: 23.97 kB / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1715, allocations: 4 kB / 0.6643 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.1721, allocations: 147.1 kB / 0.6644 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1724, allocations: 0.6768 MB / 0.6651 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.1724, allocations: 4.125 kB / 0.6651 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.1725, allocations: 11.44 kB / 0.6651 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1725, allocations: 0 / 0.6651 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.1898, allocations: 1.501 MB / 0.6666 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.676, allocations: 11.22 kB / 0.6666 GB, free: 2.828 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)