Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_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.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8671/0.8671, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.97 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1317, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002146/0.1339, allocations: 1.418 MB / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1342, allocations: 160.3 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1343, allocations: 0 / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1343, allocations: 3.938 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.1343, allocations: 0 / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1346, allocations: 43.84 kB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1346, allocations: 19.98 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.1347, allocations: 7.984 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.1347, allocations: 11.98 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.599e-05/0.1348, allocations: 11.94 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1348, allocations: 4 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.1349, allocations: 35.91 kB / 0.5861 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1349, allocations: 7.984 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1349, allocations: 7.938 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.135, allocations: 47.88 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.135, allocations: 3.984 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.82e-07/0.135, allocations: 0 / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.135, allocations: 0 / 0.5862 GB, free: 2.633 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.0003186/0.1354, allocations: 347.7 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.1354, allocations: 8.031 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.1354, allocations: 34.69 kB / 0.5866 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1355, allocations: 4.938 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.494e-05/0.1356, allocations: 160.4 kB / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1356, allocations: 384 / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.1356, allocations: 4.375 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1357, allocations: 46.23 kB / 0.5868 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1357, allocations: 11.92 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.1357, allocations: 4 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1358, allocations: 0 / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1359, allocations: 31.95 kB / 0.5868 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.1361, allocations: 252.8 kB / 0.5871 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1362, allocations: 50.48 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.1363, allocations: 18.56 kB / 0.5871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.1365, allocations: 89.09 kB / 0.5872 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.1365, allocations: 30.56 kB / 0.5873 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1365, allocations: 0 / 0.5873 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003105/0.1368, allocations: 85.67 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1368, allocations: 51.41 kB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.1369, allocations: 101.8 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1369, allocations: 29.7 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.137, allocations: 88.12 kB / 0.5876 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.137, allocations: 11.83 kB / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.137, allocations: 13.72 kB / 0.5876 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.1371, allocations: 310.8 kB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1372, allocations: 20.02 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1372, allocations: 23.97 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1374, allocations: 36.83 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1374, allocations: 3.938 kB / 0.588 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.1376, allocations: 73.66 kB / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1376, allocations: 6.344 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1376, allocations: 0 / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.1376, allocations: 0 / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.1377, allocations: 11.98 kB / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.1377, allocations: 0 / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1377, allocations: 4 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.1377, allocations: 0 / 0.5881 GB, free: 468 kB / 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.534e-05/0.1378, allocations: 121.8 kB / 0.5882 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1378, allocations: 0 / 0.5882 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.138, allocations: 76.62 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1381, allocations: 4 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1381, allocations: 0 / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1381, allocations: 0 / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1382, allocations: 161.5 kB / 0.5884 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1382, allocations: 0 / 0.5884 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.1383, allocations: 12.02 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1383, allocations: 4 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.1383, allocations: 0 / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1383, allocations: 0 / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1383, allocations: 0 / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1385, allocations: 167.5 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1386, allocations: 77.11 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1386, allocations: 3.984 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.1386, allocations: 4 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.1387, allocations: 7.938 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1387, allocations: 3.984 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.1387, allocations: 83.28 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.192e-06/0.1387, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002156/0.1389, allocations: 15.94 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB 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.0004625/0.1394, allocations: 0.7127 MB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1396, allocations: 39.94 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1396, allocations: 0 / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1397, allocations: 23.97 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1399, allocations: 4 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1402, allocations: 143 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.1404, allocations: 0.6808 MB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.1404, allocations: 3.984 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1405, allocations: 15.44 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1405, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.149/2.29, allocations: 1.467 MB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/15.22, allocations: 14.17 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)