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.0007728/0.0007728, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008043/0.0008043, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002982, allocations: 16 kB / 0.5035 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3615, allocations: 81.58 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0008095/0.3623, allocations: 314.9 kB / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.3627, allocations: 90.33 kB / 0.5836 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.3627, allocations: 0 / 0.5836 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.3627, allocations: 7.938 kB / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.3627, allocations: 0 / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.363, allocations: 24.55 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.3631, allocations: 6.344 kB / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3631, allocations: 1.219 kB / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.3632, allocations: 0.6562 kB / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.3632, allocations: 3.938 kB / 0.5836 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.3632, allocations: 1.25 kB / 0.5836 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3634, allocations: 31.73 kB / 0.5836 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3634, allocations: 9.516 kB / 0.5836 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.3634, allocations: 25.7 kB / 0.5837 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.357e-05/0.3635, allocations: 26.92 kB / 0.5837 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3635, allocations: 1.312 kB / 0.5837 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3635, allocations: 0 / 0.5837 GB, free: 3.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.3635, allocations: 0 / 0.5837 GB, free: 3.645 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001681/0.3637, allocations: 311.8 kB / 0.584 GB, free: 3.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3637, allocations: 10.53 kB / 0.584 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.3637, allocations: 30.56 kB / 0.584 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3638, allocations: 5.016 kB / 0.584 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.548e-05/0.3638, allocations: 160.2 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.3639, allocations: 5.062 kB / 0.5842 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.3639, allocations: 0 / 0.5842 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.894e-05/0.3639, allocations: 33.06 kB / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.364, allocations: 1.031 kB / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.364, allocations: 0 / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.364, allocations: 0 / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.364, allocations: 6.359 kB / 0.5842 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.002e-05/0.3641, allocations: 151.9 kB / 0.5844 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.614e-05/0.3641, allocations: 21.14 kB / 0.5844 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.3641, allocations: 6.125 kB / 0.5844 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.3643, allocations: 88.03 kB / 0.5845 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.3643, allocations: 32.08 kB / 0.5845 GB, free: 2.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3643, allocations: 3.938 kB / 0.5845 GB, free: 2.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.3644, allocations: 36.17 kB / 0.5845 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.3645, allocations: 53.12 kB / 0.5846 GB, free: 2.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.476e-05/0.3645, allocations: 93.98 kB / 0.5847 GB, free: 2.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.3645, allocations: 25.7 kB / 0.5847 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.047e-05/0.3645, allocations: 81.56 kB / 0.5848 GB, free: 2.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3646, allocations: 7.906 kB / 0.5848 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.3646, allocations: 0.7812 kB / 0.5848 GB, free: 2.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.3646, allocations: 316.2 kB / 0.5851 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.3646, allocations: 0.6562 kB / 0.5851 GB, free: 2.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.3646, allocations: 1.75 kB / 0.5851 GB, free: 2.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.334e-05/0.3646, allocations: 5.375 kB / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3647, allocations: 0 / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.726e-05/0.3647, allocations: 37.34 kB / 0.5851 GB, free: 1.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3647, allocations: 4.375 kB / 0.5851 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3647, allocations: 1.094 kB / 0.5851 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3648, allocations: 0.6094 kB / 0.5851 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.3648, allocations: 2.531 kB / 0.5852 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3648, allocations: 0.6094 kB / 0.5852 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.3648, allocations: 4 kB / 0.5852 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3648, allocations: 0.8125 kB / 0.5852 GB, free: 1.965 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.3649, allocations: 120.5 kB / 0.5853 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.3649, allocations: 0.6562 kB / 0.5853 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.365, allocations: 35.27 kB / 0.5853 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.365, allocations: 0.5625 kB / 0.5853 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.365, allocations: 0.75 kB / 0.5853 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.365, allocations: 3.938 kB / 0.5853 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.703e-05/0.365, allocations: 153.5 kB / 0.5855 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.365, allocations: 0 / 0.5855 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.3651, allocations: 6.406 kB / 0.5855 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3651, allocations: 0 / 0.5855 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.3651, allocations: 1.391 kB / 0.5855 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3651, allocations: 0 / 0.5855 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3651, allocations: 0.875 kB / 0.5855 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.095e-05/0.3652, allocations: 61.86 kB / 0.5855 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3652, allocations: 77.86 kB / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.3652, allocations: 4.906 kB / 0.5856 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.3652, allocations: 9 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3652, allocations: 0.6094 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3652, allocations: 1.672 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.028e-05/0.3652, allocations: 75.28 kB / 0.5857 GB, free: 1.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 0.5857 GB, free: 1.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.3654, allocations: 8.297 kB / 0.5857 GB, free: 1.352 MB / 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002823/0.3657, allocations: 0.6181 MB / 0.5863 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.334e-05/0.3658, allocations: 3.359 kB / 0.5863 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3658, allocations: 1.312 kB / 0.5863 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-06/0.3658, allocations: 2.062 kB / 0.5863 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3659, allocations: 7.172 kB / 0.5863 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.3662, allocations: 106.2 kB / 0.5864 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3663, allocations: 0.6712 MB / 0.5871 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.263e-05/0.3663, allocations: 8.781 kB / 0.5871 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.3664, allocations: 8.406 kB / 0.5871 GB, free: 15.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3664, allocations: 0 / 0.5871 GB, free: 15.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.3766, allocations: 0.9554 MB / 0.588 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.3768, allocations: 187.2 kB / 0.5882 GB, free: 15.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.951, allocations: 0 / 0.5882 GB, free: 15.54 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: