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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001455/0.001455, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7131/0.7131, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.19 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1399, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002122/0.142, allocations: 1.491 MB / 0.581 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1424, allocations: 168.3 kB / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.1424, allocations: 0 / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1424, allocations: 0 / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.1425, allocations: 4 kB / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.1426, allocations: 35.91 kB / 0.5812 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.1427, allocations: 19.92 kB / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.1427, allocations: 12 kB / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.1428, allocations: 7.922 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.408e-05/0.1428, allocations: 8 kB / 0.5812 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1428, allocations: 0 / 0.5812 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.1429, allocations: 47.88 kB / 0.5812 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1429, allocations: 3.938 kB / 0.5812 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.143, allocations: 8 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.1431, allocations: 51.86 kB / 0.5813 GB, free: 7.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1431, allocations: 0 / 0.5813 GB, free: 7.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.1431, allocations: 0 / 0.5813 GB, free: 7.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.064e-06/0.1431, allocations: 4 kB / 0.5813 GB, free: 7.277 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003109/0.1434, allocations: 345.3 kB / 0.5816 GB, free: 6.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1434, allocations: 8.031 kB / 0.5816 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.1435, allocations: 30.75 kB / 0.5817 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1435, allocations: 4.938 kB / 0.5817 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.1436, allocations: 168.2 kB / 0.5818 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.1436, allocations: 384 / 0.5818 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.1436, allocations: 8.375 kB / 0.5818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1437, allocations: 46.23 kB / 0.5819 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1438, allocations: 7.938 kB / 0.5819 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1438, allocations: 7.938 kB / 0.5819 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-06/0.1438, allocations: 0 / 0.5819 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1439, allocations: 31.95 kB / 0.5819 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1441, allocations: 240.9 kB / 0.5822 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1443, allocations: 58.45 kB / 0.5822 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.1444, allocations: 16.91 kB / 0.5822 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1445, allocations: 89.09 kB / 0.5823 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1445, allocations: 30.56 kB / 0.5824 GB, free: 6.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1445, allocations: 0 / 0.5824 GB, free: 6.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003002/0.1448, allocations: 85.58 kB / 0.5824 GB, free: 5.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.1449, allocations: 51.41 kB / 0.5825 GB, free: 5.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.1449, allocations: 101.8 kB / 0.5826 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.1449, allocations: 25.7 kB / 0.5826 GB, free: 5.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.145, allocations: 88.14 kB / 0.5827 GB, free: 5.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.145, allocations: 3.906 kB / 0.5827 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.145, allocations: 17.84 kB / 0.5827 GB, free: 5.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.1451, allocations: 314.8 kB / 0.583 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.1452, allocations: 19.97 kB / 0.583 GB, free: 5.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.1453, allocations: 11.98 kB / 0.583 GB, free: 5.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1454, allocations: 44.89 kB / 0.5831 GB, free: 5.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1454, allocations: 3.938 kB / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.1456, allocations: 69.59 kB / 0.5832 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.1456, allocations: 4 kB / 0.5832 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1456, allocations: 4 kB / 0.5832 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.1457, allocations: 0 / 0.5832 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.1457, allocations: 11.98 kB / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1457, allocations: 0 / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.1458, allocations: 8.031 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1458, allocations: 0 / 0.5832 GB, free: 5.105 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 (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 5.902e-05/0.1459, allocations: 117.8 kB / 0.5833 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1459, allocations: 3.906 kB / 0.5833 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1461, allocations: 68.78 kB / 0.5834 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1461, allocations: 4 kB / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1461, allocations: 7.969 kB / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-06/0.1461, allocations: 0 / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1463, allocations: 165.5 kB / 0.5835 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1463, allocations: 3.938 kB / 0.5835 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.1463, allocations: 4 kB / 0.5835 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1463, allocations: 4 kB / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1463, allocations: 0 / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1463, allocations: 0 / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1464, allocations: 0 / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1466, allocations: 167.5 kB / 0.5837 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.1466, allocations: 81.09 kB / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.1466, allocations: 0 / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1467, allocations: 4 kB / 0.5838 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1467, allocations: 3.984 kB / 0.5838 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1467, allocations: 4 kB / 0.5838 GB, free: 4.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.1468, allocations: 79.31 kB / 0.5839 GB, free: 4.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.1468, allocations: 8 kB / 0.5839 GB, free: 4.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.147, allocations: 15.94 kB / 0.5839 GB, free: 4.273 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 (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.0004961/0.1475, allocations: 0.7046 MB / 0.5846 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1477, allocations: 31.97 kB / 0.5846 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1477, allocations: 0 / 0.5846 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.1478, allocations: 27.91 kB / 0.5846 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.148, allocations: 7.938 kB / 0.5846 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.1483, allocations: 148.9 kB / 0.5848 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1485, allocations: 0.677 MB / 0.5854 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.1485, allocations: 0 / 0.5854 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.1486, allocations: 11.44 kB / 0.5855 GB, free: 2.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1486, allocations: 0 / 0.5855 GB, free: 2.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.983/2.132, allocations: 1.308 MB / 0.5867 GB, free: 1.387 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/2.132, allocations: 192.8 kB / 0.5869 GB, free: 1.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.793, allocations: 0 / 0.5869 GB, free: 1.129 MB / 494.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)