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.001144/0.001144, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009174/0.009174, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6983/0.6983, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 12.56 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3698, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001143/0.371, allocations: 1.154 MB / 0.5849 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003353/0.3713, allocations: 157.5 kB / 0.585 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.3714, allocations: 0 / 0.585 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.3714, allocations: 9.062 kB / 0.585 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.3714, allocations: 0.6562 kB / 0.585 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3716, allocations: 34.23 kB / 0.5851 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.254e-05/0.3717, allocations: 18.84 kB / 0.5851 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.3718, allocations: 8.734 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.3718, allocations: 3.75 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.3718, allocations: 17.83 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.3718, allocations: 1.375 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.372, allocations: 43.31 kB / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.372, allocations: 6.047 kB / 0.5852 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.372, allocations: 37.12 kB / 0.5852 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3721, allocations: 42.09 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3721, allocations: 0 / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3721, allocations: 1.062 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.3721, allocations: 0 / 0.5852 GB, free: 2.98 MB / 430.1 MB 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.0002921/0.3724, allocations: 347.2 kB / 0.5856 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3725, allocations: 13.75 kB / 0.5856 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.3725, allocations: 32.77 kB / 0.5856 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.3725, allocations: 5.75 kB / 0.5856 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.846e-05/0.3726, allocations: 162.8 kB / 0.5858 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3726, allocations: 5.281 kB / 0.5858 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.3726, allocations: 1.375 kB / 0.5858 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3728, allocations: 55.84 kB / 0.5858 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3728, allocations: 3.938 kB / 0.5858 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.3728, allocations: 4 kB / 0.5858 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3728, allocations: 0 / 0.5858 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.373, allocations: 42.56 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.3732, allocations: 263.5 kB / 0.5861 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3733, allocations: 48.38 kB / 0.5862 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.3734, allocations: 24.69 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.3735, allocations: 88.95 kB / 0.5863 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.3735, allocations: 36.03 kB / 0.5863 GB, free: 1.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3735, allocations: 0 / 0.5863 GB, free: 1.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003324/0.3739, allocations: 99.5 kB / 0.5864 GB, free: 1.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.3739, allocations: 51.41 kB / 0.5865 GB, free: 1.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.784e-05/0.3739, allocations: 101.3 kB / 0.5866 GB, free: 1.645 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.374, allocations: 25.7 kB / 0.5866 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.374, allocations: 82.17 kB / 0.5867 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.374, allocations: 10.59 kB / 0.5867 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.374, allocations: 9.719 kB / 0.5867 GB, free: 1.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.3741, allocations: 317.4 kB / 0.587 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3741, allocations: 22.44 kB / 0.587 GB, free: 1.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.3742, allocations: 27.5 kB / 0.587 GB, free: 1.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3744, allocations: 51 kB / 0.5871 GB, free: 1.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3744, allocations: 3.938 kB / 0.5871 GB, free: 1.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.3746, allocations: 84.94 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.3746, allocations: 5.594 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3746, allocations: 0.9375 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.3746, allocations: 0 / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.3747, allocations: 10.91 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3747, allocations: 5.797 kB / 0.5872 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.3748, allocations: 7.562 kB / 0.5872 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.3748, allocations: 6.156 kB / 0.5872 GB, free: 1.105 MB / 430.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 (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 3.699e-05/0.3748, allocations: 111.9 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3748, allocations: 1.484 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.375, allocations: 89.11 kB / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3751, allocations: 0 / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3751, allocations: 1.609 kB / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3751, allocations: 0 / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.683e-05/0.3752, allocations: 164.4 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3752, allocations: 0 / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.3752, allocations: 11.17 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3752, allocations: 0.875 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.3753, allocations: 0 / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3753, allocations: 1.344 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3753, allocations: 4.031 kB / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.3755, allocations: 173.6 kB / 0.5877 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.3755, allocations: 83.14 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.3755, allocations: 0 / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3756, allocations: 9.031 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3756, allocations: 1.875 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3756, allocations: 5.938 kB / 0.5878 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.911e-05/0.3756, allocations: 80.14 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3756, allocations: 0 / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.3759, allocations: 13.41 kB / 0.5879 GB, free: 424 kB / 430.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 (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.0004409/0.3763, allocations: 0.7241 MB / 0.5886 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3765, allocations: 49.34 kB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3765, allocations: 0 / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.3766, allocations: 29.06 kB / 0.5887 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3768, allocations: 9.672 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.3772, allocations: 138.7 kB / 0.5888 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.3774, allocations: 0.6805 MB / 0.5895 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.3774, allocations: 4.75 kB / 0.5895 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.3774, allocations: 10.23 kB / 0.5895 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3774, allocations: 0 / 0.5895 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/0.5628, allocations: 1.235 MB / 0.5907 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.5631, allocations: 200.3 kB / 0.5909 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.325, allocations: 2.875 kB / 0.5909 GB, free: 14.44 MB / 446.1 MB (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)