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.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001285/0.001285, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.715/0.715, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 67.36 kB / 0.5014 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1345, allocations: 80.2 MB / 0.5797 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001643/0.1362, allocations: 0.6374 MB / 0.5803 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.1365, allocations: 95.62 kB / 0.5804 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-06/0.1365, allocations: 0 / 0.5804 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1365, allocations: 0 / 0.5804 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.1365, allocations: 4 kB / 0.5804 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1368, allocations: 39.91 kB / 0.5804 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.065e-05/0.1369, allocations: 3.938 kB / 0.5804 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1369, allocations: 0 / 0.5804 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.1369, allocations: 4 kB / 0.5805 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.364e-05/0.1369, allocations: 0 / 0.5805 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.1369, allocations: 3.938 kB / 0.5805 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1371, allocations: 39.89 kB / 0.5805 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-06/0.1371, allocations: 0 / 0.5805 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.1371, allocations: 4 kB / 0.5805 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.1372, allocations: 23.97 kB / 0.5805 GB, free: 8.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1372, allocations: 4 kB / 0.5805 GB, free: 8.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1372, allocations: 0 / 0.5805 GB, free: 8.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1372, allocations: 0 / 0.5805 GB, free: 8.121 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.0002353/0.1375, allocations: 323.6 kB / 0.5808 GB, free: 7.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1375, allocations: 8.031 kB / 0.5808 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.1375, allocations: 30.75 kB / 0.5809 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1376, allocations: 8.938 kB / 0.5809 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.47e-05/0.1376, allocations: 164.4 kB / 0.581 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1377, allocations: 4.312 kB / 0.581 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.1377, allocations: 4.375 kB / 0.581 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.476e-05/0.1377, allocations: 30.2 kB / 0.5811 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1377, allocations: 3.938 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1378, allocations: 4 kB / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-06/0.1378, allocations: 0 / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.1378, allocations: 0 / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.1379, allocations: 149.7 kB / 0.5812 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.24e-05/0.1379, allocations: 26.53 kB / 0.5812 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.138, allocations: 8.859 kB / 0.5813 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.1381, allocations: 85.16 kB / 0.5813 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1382, allocations: 30.56 kB / 0.5814 GB, free: 7.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1382, allocations: 0 / 0.5814 GB, free: 7.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.1383, allocations: 37.64 kB / 0.5814 GB, free: 7.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1383, allocations: 55.41 kB / 0.5815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.766e-05/0.1384, allocations: 89.86 kB / 0.5815 GB, free: 6.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.1384, allocations: 29.83 kB / 0.5816 GB, free: 6.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.1384, allocations: 80.14 kB / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1384, allocations: 3.906 kB / 0.5817 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1384, allocations: 9.719 kB / 0.5817 GB, free: 6.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.1385, allocations: 322.8 kB / 0.582 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.1386, allocations: 3.938 kB / 0.582 GB, free: 6.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.1386, allocations: 0 / 0.582 GB, free: 6.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.1386, allocations: 12.92 kB / 0.582 GB, free: 6.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1386, allocations: 0 / 0.582 GB, free: 6.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.23e-05/0.1386, allocations: 29.7 kB / 0.582 GB, free: 6.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1387, allocations: 4 kB / 0.582 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1387, allocations: 7.938 kB / 0.582 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1387, allocations: 3.984 kB / 0.582 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.1387, allocations: 3.938 kB / 0.582 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1387, allocations: 3.984 kB / 0.582 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-06/0.1387, allocations: 0 / 0.582 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1388, allocations: 3.938 kB / 0.582 GB, free: 6.316 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 5.496e-05/0.1388, allocations: 117.9 kB / 0.5822 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.1388, allocations: 0 / 0.5822 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.1389, allocations: 40.75 kB / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1389, allocations: 0 / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1389, allocations: 3.984 kB / 0.5822 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1389, allocations: 3.938 kB / 0.5822 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.401e-05/0.139, allocations: 145.7 kB / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.139, allocations: 0 / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.139, allocations: 0 / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.139, allocations: 4.031 kB / 0.5823 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.139, allocations: 3.938 kB / 0.5823 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.139, allocations: 0 / 0.5823 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1391, allocations: 8 kB / 0.5824 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.51e-05/0.1391, allocations: 61.06 kB / 0.5824 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.1392, allocations: 77.11 kB / 0.5825 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.1392, allocations: 3.938 kB / 0.5825 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.1392, allocations: 8.031 kB / 0.5825 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-06/0.1392, allocations: 0 / 0.5825 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1392, allocations: 0 / 0.5825 GB, free: 5.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.1392, allocations: 77.05 kB / 0.5826 GB, free: 5.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1392, allocations: 0 / 0.5826 GB, free: 5.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1394, allocations: 15.98 kB / 0.5826 GB, free: 5.652 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.0003569/0.1398, allocations: 0.6094 MB / 0.5832 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.017e-05/0.1398, allocations: 4 kB / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1399, allocations: 0 / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.1399, allocations: 4 kB / 0.5832 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.14, allocations: 0 / 0.5832 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.1402, allocations: 118.7 kB / 0.5833 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1404, allocations: 0.6729 MB / 0.584 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.007e-06/0.1404, allocations: 0 / 0.584 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.1404, allocations: 7.438 kB / 0.584 GB, free: 4.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1404, allocations: 0 / 0.584 GB, free: 4.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/0.2766, allocations: 1.046 MB / 0.585 GB, free: 3.266 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.2769, allocations: 207.5 kB / 0.5852 GB, free: 3.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.959, allocations: 0 / 0.5852 GB, free: 3.008 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)