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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01106/0.01106, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8556/0.8556, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 97.88 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003685, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3919, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5341, allocations: 111.5 MB / 0.7584 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5344, allocations: 79.95 kB / 0.7585 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003231/0.5376, allocations: 1.045 MB / 0.7595 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5376, allocations: 0 / 0.7595 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5376, allocations: 0 / 0.7595 GB, free: 3.371 MB / 0.5261 GB 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.0003869/0.538, allocations: 355.2 kB / 0.7598 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5381, allocations: 8.031 kB / 0.7599 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.5381, allocations: 38.55 kB / 0.7599 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.5382, allocations: 4 kB / 0.7599 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.5383, allocations: 167 kB / 0.7601 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.5383, allocations: 0 / 0.7601 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.5383, allocations: 8 kB / 0.7601 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.5385, allocations: 49.67 kB / 0.7601 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5385, allocations: 0 / 0.7601 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5385, allocations: 4 kB / 0.7601 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5386, allocations: 7.938 kB / 0.7601 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.5387, allocations: 43.95 kB / 0.7602 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.5392, allocations: 268.9 kB / 0.7604 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.5393, allocations: 46.48 kB / 0.7605 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.5395, allocations: 85.17 kB / 0.7605 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5396, allocations: 38.55 kB / 0.7606 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5396, allocations: 0 / 0.7606 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.5399, allocations: 93.66 kB / 0.7607 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.54, allocations: 63.36 kB / 0.7607 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.5401, allocations: 89 kB / 0.7608 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.5401, allocations: 33.7 kB / 0.7608 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.5401, allocations: 84.12 kB / 0.7609 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.5402, allocations: 3.906 kB / 0.7609 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5402, allocations: 3.938 kB / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5403, allocations: 318.8 kB / 0.7612 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.5404, allocations: 27.98 kB / 0.7613 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.5405, allocations: 15.98 kB / 0.7613 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.5406, allocations: 23.98 kB / 0.7613 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5406, allocations: 4.062 kB / 0.7613 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.5408, allocations: 73.66 kB / 0.7614 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5408, allocations: 5.094 kB / 0.7614 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5408, allocations: 4 kB / 0.7614 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5408, allocations: 0 / 0.7614 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.5409, allocations: 19.95 kB / 0.7614 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5409, allocations: 0 / 0.7614 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.541, allocations: 7.984 kB / 0.7614 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.541, allocations: 4 kB / 0.7614 GB, free: 1.176 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/0.5411, allocations: 113.8 kB / 0.7615 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.5411, allocations: 192 / 0.7615 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.5414, allocations: 88.77 kB / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5414, allocations: 0 / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5414, allocations: 0 / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5414, allocations: 4 kB / 0.7616 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.5415, allocations: 161.6 kB / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5416, allocations: 0 / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.5416, allocations: 16.03 kB / 0.7618 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5416, allocations: 3.938 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.5416, allocations: 0 / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.5417, allocations: 7.922 kB / 0.7618 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5417, allocations: 0 / 0.7618 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5419, allocations: 175.4 kB / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.542, allocations: 81.09 kB / 0.762 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.542, allocations: 0 / 0.762 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.5421, allocations: 12 kB / 0.7621 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5421, allocations: 3.984 kB / 0.7621 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5421, allocations: 4.031 kB / 0.7621 GB, free: 428 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.5422, allocations: 79.28 kB / 0.7621 GB, free: 348 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.5422, allocations: 0 / 0.7621 GB, free: 348 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002255/0.5424, allocations: 19.94 kB / 0.7622 GB, free: 328 kB / 0.5261 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 (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.00067/0.5431, allocations: 0.7241 MB / 0.7629 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.5433, allocations: 47.98 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5433, allocations: 4 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.5434, allocations: 23.98 kB / 0.7629 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.5436, allocations: 4.641 kB / 0.7629 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.5441, allocations: 158.3 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.5443, allocations: 0.677 MB / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.5444, allocations: 0 / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.5444, allocations: 19.42 kB / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.5444, allocations: 0 / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.5555, allocations: 1.209 MB / 0.7649 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.5558, allocations: 168.8 kB / 0.7651 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.049, allocations: 0 / 0.7651 GB, free: 13.23 MB / 0.5417 GB (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/linux/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)