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.0009894/0.0009895, allocations: 175.2 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.8441/0.8441, 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.608/1.608, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.000818/0.000818, allocations: 88.45 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.173e-05, allocations: 4 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/0.8064, allocations: 111.4 MB / 0.7493 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.8068, allocations: 68.06 kB / 0.7494 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003602/0.8104, allocations: 1.043 MB / 0.7504 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8104, allocations: 0 / 0.7504 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8104, allocations: 4 kB / 0.7504 GB, free: 27.52 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.0003691/0.8108, allocations: 346.4 kB / 0.7507 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8109, allocations: 11.66 kB / 0.7508 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.8109, allocations: 34.41 kB / 0.7508 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.811, allocations: 3.906 kB / 0.7508 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.8111, allocations: 170.5 kB / 0.751 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.8111, allocations: 3.656 kB / 0.751 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8111, allocations: 4 kB / 0.751 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.8112, allocations: 39.83 kB / 0.751 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.8113, allocations: 0 / 0.751 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8113, allocations: 7.719 kB / 0.751 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.8113, allocations: 0 / 0.751 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.8113, allocations: 6.469 kB / 0.751 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.8117, allocations: 271.6 kB / 0.7513 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.371e-05/0.8118, allocations: 32.67 kB / 0.7513 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.8118, allocations: 8.547 kB / 0.7513 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.812, allocations: 91.45 kB / 0.7514 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.812, allocations: 30.56 kB / 0.7514 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.285e-06/0.812, allocations: 4 kB / 0.7514 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.8122, allocations: 39.22 kB / 0.7515 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.8122, allocations: 51.41 kB / 0.7515 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.8123, allocations: 96.16 kB / 0.7516 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8123, allocations: 29.64 kB / 0.7516 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.8124, allocations: 82.77 kB / 0.7517 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.8124, allocations: 7.844 kB / 0.7517 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.8124, allocations: 7.188 kB / 0.7517 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8126, allocations: 322.6 kB / 0.752 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.8126, allocations: 0 / 0.752 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.8126, allocations: 6.688 kB / 0.752 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.879e-05/0.8127, allocations: 6.312 kB / 0.752 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8127, allocations: 0 / 0.752 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.755e-05/0.8127, allocations: 46.59 kB / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.8128, allocations: 4.562 kB / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8128, allocations: 192 / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.8128, allocations: 0 / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.8129, allocations: 20.7 kB / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8129, allocations: 0 / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.813, allocations: 10.38 kB / 0.7521 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.813, allocations: 3.875 kB / 0.7521 GB, free: 25.77 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 7.443e-05/0.813, allocations: 112.2 kB / 0.7522 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.8131, allocations: 0 / 0.7522 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.8132, allocations: 50.67 kB / 0.7523 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8132, allocations: 0 / 0.7523 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8132, allocations: 0 / 0.7523 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8132, allocations: 6.703 kB / 0.7523 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.8134, allocations: 158.5 kB / 0.7524 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8134, allocations: 2.859 kB / 0.7524 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.8134, allocations: 10.8 kB / 0.7525 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8134, allocations: 3.844 kB / 0.7525 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.8135, allocations: 0 / 0.7525 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8135, allocations: 0 / 0.7525 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8135, allocations: 4.031 kB / 0.7525 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.8136, allocations: 141.6 kB / 0.7526 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.8137, allocations: 81.05 kB / 0.7527 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.8137, allocations: 0 / 0.7527 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.8138, allocations: 10.27 kB / 0.7527 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.8138, allocations: 3.047 kB / 0.7527 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.8138, allocations: 4.031 kB / 0.7527 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.8139, allocations: 83.06 kB / 0.7528 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8139, allocations: 0 / 0.7528 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002253/0.8141, allocations: 19.44 kB / 0.7528 GB, free: 25.09 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.0005227/0.8146, allocations: 0.6975 MB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.8147, allocations: 15.53 kB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8147, allocations: 0 / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.8147, allocations: 7.719 kB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.8149, allocations: 6.766 kB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8152, allocations: 101.1 kB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.8155, allocations: 0.6781 MB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.8156, allocations: 3.781 kB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.8156, allocations: 11.19 kB / 0.7543 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8156, allocations: 0 / 0.7543 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.8277, allocations: 1.237 MB / 0.7555 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.8279, allocations: 143.9 kB / 0.7556 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.385, allocations: 0 / 0.7556 GB, free: 23.2 MB / 0.5105 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)