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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001209/0.001209, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.2 MB / 422.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.06 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.2 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001652/0.1534, allocations: 0.6388 MB / 0.5801 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.1538, allocations: 103.6 kB / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-06/0.1538, allocations: 0 / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1538, allocations: 3.938 kB / 0.5802 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.1539, allocations: 3.938 kB / 0.5802 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1541, allocations: 27.97 kB / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.194e-05/0.1542, allocations: 4 kB / 0.5803 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1542, allocations: 4 kB / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.248e-05/0.1542, allocations: 0 / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.588e-05/0.1543, allocations: 0 / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-06/0.1543, allocations: 0 / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1544, allocations: 43.89 kB / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.1545, allocations: 4 kB / 0.5803 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1545, allocations: 0 / 0.5803 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1546, allocations: 31.89 kB / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1546, allocations: 0 / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1546, allocations: 0 / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1546, allocations: 0 / 0.5804 GB, free: 8.273 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.0003324/0.155, allocations: 323.6 kB / 0.5807 GB, free: 7.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.155, allocations: 15.97 kB / 0.5807 GB, free: 7.891 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1551, allocations: 30.75 kB / 0.5807 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.1551, allocations: 0.9375 kB / 0.5807 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.189e-05/0.1552, allocations: 164.4 kB / 0.5809 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1552, allocations: 384 / 0.5809 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.1553, allocations: 384 / 0.5809 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.1554, allocations: 34.27 kB / 0.5809 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1554, allocations: 3.938 kB / 0.5809 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1554, allocations: 8 kB / 0.5809 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1554, allocations: 0 / 0.5809 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1554, allocations: 3.938 kB / 0.5809 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.1555, allocations: 145.7 kB / 0.5811 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.1556, allocations: 14.58 kB / 0.5811 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.1556, allocations: 16.94 kB / 0.5811 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.1558, allocations: 77.11 kB / 0.5812 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1559, allocations: 42.55 kB / 0.5812 GB, free: 7.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1559, allocations: 0 / 0.5812 GB, free: 7.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.156, allocations: 37.58 kB / 0.5812 GB, free: 7.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.156, allocations: 51.41 kB / 0.5813 GB, free: 7.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.1561, allocations: 89.86 kB / 0.5814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1561, allocations: 25.7 kB / 0.5814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.1561, allocations: 84.14 kB / 0.5815 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1562, allocations: 3.906 kB / 0.5815 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1562, allocations: 17.84 kB / 0.5815 GB, free: 6.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.1563, allocations: 310.8 kB / 0.5818 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.1563, allocations: 3.984 kB / 0.5818 GB, free: 6.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.1563, allocations: 7.938 kB / 0.5818 GB, free: 6.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.1563, allocations: 4.859 kB / 0.5818 GB, free: 6.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1564, allocations: 0 / 0.5818 GB, free: 6.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.08e-05/0.1564, allocations: 41.64 kB / 0.5818 GB, free: 6.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1564, allocations: 8.094 kB / 0.5819 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1564, allocations: 3.938 kB / 0.5819 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1565, allocations: 0 / 0.5819 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.1565, allocations: 4 kB / 0.5819 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1565, allocations: 0 / 0.5819 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.1565, allocations: 0 / 0.5819 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1565, allocations: 7.922 kB / 0.5819 GB, free: 6.469 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 6.208e-05/0.1566, allocations: 105.8 kB / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.1566, allocations: 0 / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.1567, allocations: 52.7 kB / 0.582 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1567, allocations: 0 / 0.582 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1567, allocations: 0 / 0.582 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1567, allocations: 0 / 0.582 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.621e-05/0.1568, allocations: 145.7 kB / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1568, allocations: 0 / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.1568, allocations: 4 kB / 0.5822 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1569, allocations: 0 / 0.5822 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1569, allocations: 3.938 kB / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1569, allocations: 0 / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1569, allocations: 32 / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.157, allocations: 65.12 kB / 0.5822 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.157, allocations: 77.11 kB / 0.5823 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.157, allocations: 3.938 kB / 0.5823 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-06/0.157, allocations: 4 kB / 0.5823 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.157, allocations: 7.922 kB / 0.5823 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.157, allocations: 0 / 0.5823 GB, free: 5.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.1571, allocations: 79.31 kB / 0.5824 GB, free: 5.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1571, allocations: 0 / 0.5824 GB, free: 5.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1573, allocations: 15.98 kB / 0.5824 GB, free: 5.809 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.0003922/0.1577, allocations: 0.6067 MB / 0.583 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.1577, allocations: 4 kB / 0.583 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1577, allocations: 0 / 0.583 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-06/0.1578, allocations: 3.938 kB / 0.583 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1579, allocations: 8.297 kB / 0.583 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.1582, allocations: 116.3 kB / 0.5831 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1584, allocations: 0.6731 MB / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.123e-05/0.1584, allocations: 0 / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.1584, allocations: 11.56 kB / 0.5838 GB, free: 4.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1584, allocations: 0 / 0.5838 GB, free: 4.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009786/0.1682, allocations: 1.007 MB / 0.5848 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.1685, allocations: 209.2 kB / 0.585 GB, free: 3.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.786, allocations: 0 / 0.585 GB, free: 3.18 MB / 494.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/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)