Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.00166/0.00166, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9026/0.9026, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.481/1.481, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009012/0.0009013, allocations: 86.23 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.32e-05/4.339e-05, allocations: 5.094 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6202/0.7767, allocations: 110.7 MB / 0.7486 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.777, allocations: 82.48 kB / 0.7487 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002398/0.7794, allocations: 0.7476 MB / 0.7494 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7794, allocations: 0 / 0.7494 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7794, allocations: 4 kB / 0.7494 GB, free: 27.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002324/0.7797, allocations: 321.4 kB / 0.7497 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7797, allocations: 11.66 kB / 0.7497 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.7798, allocations: 34.44 kB / 0.7498 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.7798, allocations: 0 / 0.7498 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.7799, allocations: 166.2 kB / 0.7499 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.7799, allocations: 1.859 kB / 0.7499 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.7799, allocations: 0 / 0.7499 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.78, allocations: 37.27 kB / 0.75 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.78, allocations: 0 / 0.75 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.7801, allocations: 0 / 0.75 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7801, allocations: 0 / 0.75 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.7801, allocations: 3.938 kB / 0.75 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.7802, allocations: 148.8 kB / 0.7501 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.033e-05/0.7803, allocations: 18.27 kB / 0.7501 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.7803, allocations: 8.609 kB / 0.7501 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.7805, allocations: 91.66 kB / 0.7502 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.7805, allocations: 30.56 kB / 0.7503 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7805, allocations: 0 / 0.7503 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.7806, allocations: 37.5 kB / 0.7503 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.7807, allocations: 54.27 kB / 0.7504 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.7807, allocations: 85 kB / 0.7504 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.7808, allocations: 25.7 kB / 0.7505 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.7808, allocations: 88.11 kB / 0.7505 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.7808, allocations: 12.47 kB / 0.7506 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-06/0.7808, allocations: 0 / 0.7506 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7809, allocations: 310.8 kB / 0.7508 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.781, allocations: 0 / 0.7508 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.781, allocations: 0 / 0.7508 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.59e-05/0.781, allocations: 3.844 kB / 0.7509 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.781, allocations: 0 / 0.7509 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.683e-05/0.7811, allocations: 41.12 kB / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7811, allocations: 8.562 kB / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7811, allocations: 0 / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.7811, allocations: 0 / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.7812, allocations: 3.938 kB / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7812, allocations: 0 / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-06/0.7812, allocations: 0 / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.7812, allocations: 3.75 kB / 0.7509 GB, free: 26 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 (1): * Single equations (assignments): 1 * 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 5.619e-05/0.7813, allocations: 101 kB / 0.751 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.7813, allocations: 4.891 kB / 0.751 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.7814, allocations: 44.06 kB / 0.7511 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7814, allocations: 0 / 0.7511 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7814, allocations: 0 / 0.7511 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7814, allocations: 7.844 kB / 0.7511 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.7815, allocations: 145.1 kB / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.7815, allocations: 0 / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.7815, allocations: 2 kB / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.7815, allocations: 7.734 kB / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7815, allocations: 0 / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7815, allocations: 0 / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7815, allocations: 7.969 kB / 0.7512 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.959e-05/0.7816, allocations: 56.42 kB / 0.7513 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.7817, allocations: 80.73 kB / 0.7513 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.7817, allocations: 3.953 kB / 0.7513 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.7817, allocations: 0 / 0.7513 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.7817, allocations: 0 / 0.7513 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.7817, allocations: 0 / 0.7513 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.7817, allocations: 79.31 kB / 0.7514 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7818, allocations: 3.938 kB / 0.7514 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001884/0.7819, allocations: 23.03 kB / 0.7514 GB, free: 25.4 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 (1): * Single equations (assignments): 1 * 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.000434/0.7824, allocations: 0.6104 MB / 0.752 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.567e-05/0.7824, allocations: 3.938 kB / 0.752 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7825, allocations: 3.844 kB / 0.7521 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.7825, allocations: 3.469 kB / 0.7521 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.669e-05/0.7826, allocations: 3.953 kB / 0.7521 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.7828, allocations: 82.75 kB / 0.7521 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.7831, allocations: 0.6763 MB / 0.7528 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.7831, allocations: 4 kB / 0.7528 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.7831, allocations: 7.438 kB / 0.7528 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7831, allocations: 0 / 0.7528 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.7949, allocations: 0.9458 MB / 0.7537 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.7951, allocations: 169.2 kB / 0.7539 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/2.228, allocations: 3.938 kB / 0.7539 GB, free: 23.6 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)