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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.007997/0.007997, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8252/0.8252, allocations: 135.2 MB / 151 MB, free: 13.81 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.514/1.514, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0008547/0.0008543, allocations: 91.48 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4428, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.5856, allocations: 111.5 MB / 0.7584 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.5859, allocations: 75.95 kB / 0.7585 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003024/0.5889, allocations: 1.056 MB / 0.7595 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.589, allocations: 0 / 0.7595 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.589, allocations: 0 / 0.7595 GB, free: 3.359 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.0003333/0.5893, allocations: 359.2 kB / 0.7599 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5894, allocations: 15.97 kB / 0.7599 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.5894, allocations: 30.56 kB / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.5894, allocations: 0 / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.5895, allocations: 174.9 kB / 0.7601 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.5896, allocations: 4 kB / 0.7601 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.5896, allocations: 0 / 0.7601 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.5897, allocations: 57.67 kB / 0.7601 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5898, allocations: 0 / 0.7601 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.5898, allocations: 3.938 kB / 0.7601 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5898, allocations: 0 / 0.7601 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.5899, allocations: 43.97 kB / 0.7602 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.5903, allocations: 272.8 kB / 0.7604 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.5904, allocations: 50.5 kB / 0.7605 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.5906, allocations: 85.16 kB / 0.7606 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.5906, allocations: 30.56 kB / 0.7606 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5906, allocations: 0 / 0.7606 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.591, allocations: 105.5 kB / 0.7607 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.591, allocations: 55.34 kB / 0.7607 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.5911, allocations: 92.98 kB / 0.7608 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5911, allocations: 25.7 kB / 0.7609 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.5912, allocations: 88.27 kB / 0.7609 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.5912, allocations: 3.906 kB / 0.7609 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.5912, allocations: 4 kB / 0.7609 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5913, allocations: 314.8 kB / 0.7612 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.5914, allocations: 19.98 kB / 0.7613 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.5915, allocations: 27.97 kB / 0.7613 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.5916, allocations: 19.98 kB / 0.7613 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5916, allocations: 0 / 0.7613 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.5918, allocations: 81.72 kB / 0.7614 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5918, allocations: 4 kB / 0.7614 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5918, allocations: 0 / 0.7614 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5919, allocations: 0 / 0.7614 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.592, allocations: 8 kB / 0.7614 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.592, allocations: 7.922 kB / 0.7614 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.592, allocations: 12.03 kB / 0.7614 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.592, allocations: 0 / 0.7614 GB, free: 1.164 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.956e-05/0.5921, allocations: 113.8 kB / 0.7615 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.5922, allocations: 4 kB / 0.7615 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.5924, allocations: 84.77 kB / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5924, allocations: 0 / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5924, allocations: 0 / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5924, allocations: 0 / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.5926, allocations: 161.6 kB / 0.7618 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5926, allocations: 0 / 0.7618 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.5927, allocations: 15.92 kB / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.5927, allocations: 0 / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5927, allocations: 8 kB / 0.7618 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5927, allocations: 32 / 0.7618 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5927, allocations: 7.938 kB / 0.7618 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.593, allocations: 175.4 kB / 0.762 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.593, allocations: 81.33 kB / 0.762 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.593, allocations: 4 kB / 0.762 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.5931, allocations: 11.97 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.5932, allocations: 0 / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5932, allocations: 4 kB / 0.7621 GB, free: 416 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.5932, allocations: 83.27 kB / 0.7621 GB, free: 332 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5932, allocations: 0 / 0.7621 GB, free: 332 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002302/0.5935, allocations: 19.94 kB / 0.7622 GB, free: 312 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.0006584/0.5941, allocations: 0.7319 MB / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.5944, allocations: 43.97 kB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5944, allocations: 4.062 kB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.5945, allocations: 27.97 kB / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.5947, allocations: 0 / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.5951, allocations: 154.2 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5954, allocations: 0.6771 MB / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.5954, allocations: 8 kB / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.5955, allocations: 7.438 kB / 0.7638 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5955, allocations: 0 / 0.7638 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.6074, allocations: 1.204 MB / 0.7649 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.6076, allocations: 175.8 kB / 0.7651 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.057, allocations: 0 / 0.7651 GB, free: 13.23 MB / 0.5417 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/linux/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)