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.001186/0.001186, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7123/0.7123, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.498/1.498, allocations: 221.3 MB / 400.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 86.14 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.202e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5657/0.7028, allocations: 111.4 MB / 0.7493 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.703, allocations: 74.78 kB / 0.7494 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/0.7062, allocations: 1.043 MB / 0.7504 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7063, allocations: 0 / 0.7504 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.7063, allocations: 0 / 0.7504 GB, free: 27.75 MB / 0.5105 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.0002965/0.7066, allocations: 348.1 kB / 0.7507 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.7066, allocations: 11.69 kB / 0.7508 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.7066, allocations: 34.06 kB / 0.7508 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.7067, allocations: 3.906 kB / 0.7508 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.7068, allocations: 169.1 kB / 0.751 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.7068, allocations: 3.938 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.7068, allocations: 3.984 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.7069, allocations: 48.03 kB / 0.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.7069, allocations: 0 / 0.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.7069, allocations: 0 / 0.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.7069, allocations: 0 / 0.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.707, allocations: 11.59 kB / 0.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.7073, allocations: 267.1 kB / 0.7513 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.7073, allocations: 30.14 kB / 0.7513 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.7074, allocations: 15.41 kB / 0.7513 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7076, allocations: 87.66 kB / 0.7514 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.7076, allocations: 30.56 kB / 0.7514 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7076, allocations: 0 / 0.7514 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.7077, allocations: 41.42 kB / 0.7515 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.7078, allocations: 55.28 kB / 0.7515 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.7078, allocations: 95.31 kB / 0.7516 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.7079, allocations: 29.64 kB / 0.7516 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.7079, allocations: 80.14 kB / 0.7517 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.7079, allocations: 7.844 kB / 0.7517 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.7079, allocations: 7.75 kB / 0.7517 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.708, allocations: 321.6 kB / 0.752 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.7081, allocations: 3.875 kB / 0.752 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.7081, allocations: 7.594 kB / 0.752 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.433e-05/0.7081, allocations: 3.812 kB / 0.7521 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7081, allocations: 0 / 0.7521 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.235e-05/0.7082, allocations: 47.69 kB / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.7082, allocations: 3.969 kB / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7082, allocations: 0 / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.7082, allocations: 3.719 kB / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.7083, allocations: 14.5 kB / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7083, allocations: 0 / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.7084, allocations: 10.88 kB / 0.7521 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.7084, allocations: 0 / 0.7521 GB, free: 25.99 MB / 0.5105 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 () * 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 6.457e-05/0.7085, allocations: 108.8 kB / 0.7522 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.7085, allocations: 3.938 kB / 0.7522 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.7086, allocations: 46.7 kB / 0.7523 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7086, allocations: 0 / 0.7523 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7086, allocations: 7.031 kB / 0.7523 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.7086, allocations: 0 / 0.7523 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.7087, allocations: 159.1 kB / 0.7524 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7087, allocations: 0 / 0.7524 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.7088, allocations: 14.36 kB / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7088, allocations: 3.938 kB / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.7088, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7088, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7088, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.709, allocations: 149.7 kB / 0.7526 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.709, allocations: 77.11 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.709, allocations: 3.875 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.7091, allocations: 10.09 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.7091, allocations: 3.047 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.7091, allocations: 3.844 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.7092, allocations: 95.05 kB / 0.7528 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7092, allocations: 0 / 0.7528 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002131/0.7094, allocations: 19.5 kB / 0.7528 GB, free: 25.31 MB / 0.5105 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 () * 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.0004609/0.7099, allocations: 0.6966 MB / 0.7535 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.756e-05/0.7099, allocations: 18.36 kB / 0.7535 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7099, allocations: 0 / 0.7535 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.71, allocations: 3.844 kB / 0.7535 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.7101, allocations: 5 kB / 0.7535 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.7104, allocations: 101.6 kB / 0.7536 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.7106, allocations: 0.6828 MB / 0.7543 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.7107, allocations: 3.844 kB / 0.7543 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.7107, allocations: 7.438 kB / 0.7543 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.7107, allocations: 0 / 0.7543 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.7211, allocations: 1.232 MB / 0.7555 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.7213, allocations: 146.1 kB / 0.7556 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.211, allocations: 0 / 0.7556 GB, free: 23.43 MB / 0.5105 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)