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.001184/0.001184, allocations: 108 kB / 15.61 MB, free: 152 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.0013/0.001301, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002194, allocations: 60.22 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.161, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001744/0.1628, allocations: 0.5675 MB / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.1632, allocations: 103.6 kB / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.1632, allocations: 0 / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.997e-06/0.1632, allocations: 0 / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.1632, allocations: 4 kB / 0.5851 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1635, allocations: 31.91 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.917e-05/0.1636, allocations: 0 / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1636, allocations: 4 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.1636, allocations: 7.922 kB / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.412e-05/0.1637, allocations: 0 / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.1637, allocations: 0 / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1638, allocations: 35.91 kB / 0.5852 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-06/0.1638, allocations: 0 / 0.5852 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.1638, allocations: 4 kB / 0.5852 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.1639, allocations: 23.95 kB / 0.5852 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.164, allocations: 8 kB / 0.5853 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.164, allocations: 3.938 kB / 0.5853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.164, allocations: 0 / 0.5853 GB, free: 3.633 MB / 494.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.000268/0.1642, allocations: 319.6 kB / 0.5856 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1643, allocations: 8.031 kB / 0.5856 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1643, allocations: 34.69 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.1644, allocations: 0.9375 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.1645, allocations: 164.4 kB / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1645, allocations: 384 / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.1645, allocations: 384 / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.1646, allocations: 34.25 kB / 0.5858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1646, allocations: 3.938 kB / 0.5858 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1646, allocations: 3.938 kB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1646, allocations: 4 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.1646, allocations: 0 / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.1648, allocations: 145.7 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.1648, allocations: 22.55 kB / 0.586 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.1648, allocations: 8.859 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.165, allocations: 85.16 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.165, allocations: 34.56 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.1651, allocations: 0 / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.1652, allocations: 37.62 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1652, allocations: 55.34 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.1653, allocations: 93.86 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1653, allocations: 29.83 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1654, allocations: 80.14 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1654, allocations: 3.906 kB / 0.5864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.1654, allocations: 9.719 kB / 0.5864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1655, allocations: 318.8 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.1655, allocations: 0 / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.1655, allocations: 3.984 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.1656, allocations: 8.922 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1656, allocations: 4 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.722e-05/0.1657, allocations: 33.64 kB / 0.5867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1657, allocations: 4 kB / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1657, allocations: 7.938 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1657, allocations: 4 kB / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/0.1657, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.1658, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.1658, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1658, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.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 7.149e-05/0.1658, allocations: 121.9 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1659, allocations: 0 / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.1659, allocations: 40.7 kB / 0.5869 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.166, allocations: 0 / 0.5869 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.166, allocations: 0 / 0.5869 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.166, allocations: 0 / 0.5869 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.1661, allocations: 149.7 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1661, allocations: 3.938 kB / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.1661, allocations: 3.938 kB / 0.5871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1661, allocations: 4.031 kB / 0.5871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1661, allocations: 3.938 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1661, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1661, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.1662, allocations: 61.12 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1663, allocations: 77.11 kB / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1663, allocations: 3.938 kB / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.1663, allocations: 0 / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.1663, allocations: 8.031 kB / 0.5872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1663, allocations: 0 / 0.5872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.55e-05/0.1663, allocations: 75.28 kB / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1663, allocations: 0 / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1665, allocations: 16 kB / 0.5873 GB, free: 1.188 MB / 494.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.0004262/0.167, allocations: 0.6166 MB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.167, allocations: 0 / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.167, allocations: 0 / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.1671, allocations: 4 kB / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1672, allocations: 0 / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.1675, allocations: 126.6 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1677, allocations: 0.669 MB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.24e-05/0.1677, allocations: 4 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.1678, allocations: 7.438 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1678, allocations: 0 / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.1853, allocations: 1.123 MB / 0.5898 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.147, allocations: 10.92 kB / 0.5898 GB, free: 14.63 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)