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.005869/0.005869, allocations: 172.5 kB / 15.12 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7504/0.7504, 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.523/1.523, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001059/0.001059, allocations: 95.81 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005447, allocations: 16 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5822, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.7563, allocations: 110.8 MB / 0.7577 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.7567, allocations: 83.94 kB / 0.7578 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002822/0.7596, allocations: 0.7447 MB / 0.7585 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7596, allocations: 0 / 0.7585 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.7596, allocations: 0 / 0.7585 GB, free: 4.387 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003634/0.76, allocations: 338.8 kB / 0.7588 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.7601, allocations: 12.03 kB / 0.7588 GB, free: 4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.7601, allocations: 30.56 kB / 0.7589 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.7602, allocations: 0 / 0.7589 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7603, allocations: 167 kB / 0.759 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7604, allocations: 0 / 0.759 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.7604, allocations: 0 / 0.759 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.7605, allocations: 29.7 kB / 0.7591 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7605, allocations: 0 / 0.7591 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.7605, allocations: 0 / 0.7591 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7606, allocations: 4 kB / 0.7591 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.7606, allocations: 7.875 kB / 0.7591 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.7608, allocations: 153.6 kB / 0.7592 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.7609, allocations: 18.56 kB / 0.7592 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.7611, allocations: 81.2 kB / 0.7593 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7612, allocations: 34.56 kB / 0.7593 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.7612, allocations: 4 kB / 0.7594 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.7614, allocations: 41.62 kB / 0.7594 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.7614, allocations: 51.41 kB / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.239e-05/0.7615, allocations: 85 kB / 0.7595 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.7615, allocations: 25.7 kB / 0.7595 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.7615, allocations: 80.14 kB / 0.7596 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.7616, allocations: 7.906 kB / 0.7596 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.7616, allocations: 0 / 0.7596 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.7618, allocations: 315 kB / 0.7599 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.7618, allocations: 0 / 0.7599 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.7618, allocations: 0 / 0.7599 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.7619, allocations: 8 kB / 0.7599 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7619, allocations: 0 / 0.7599 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.457e-05/0.762, allocations: 41.58 kB / 0.76 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.762, allocations: 4 kB / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.762, allocations: 0 / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.762, allocations: 0 / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.7621, allocations: 8.094 kB / 0.76 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.7621, allocations: 3.984 kB / 0.76 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.7621, allocations: 0 / 0.76 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.7621, allocations: 0 / 0.76 GB, free: 2.633 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 (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 8.769e-05/0.7622, allocations: 109.8 kB / 0.7601 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.7623, allocations: 11.92 kB / 0.7601 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.7624, allocations: 36.83 kB / 0.7601 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7624, allocations: 0 / 0.7601 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.7624, allocations: 0 / 0.7601 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7624, allocations: 7.969 kB / 0.7602 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.7625, allocations: 145.7 kB / 0.7603 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7625, allocations: 0 / 0.7603 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.7626, allocations: 7.938 kB / 0.7603 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7626, allocations: 3.953 kB / 0.7603 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7626, allocations: 7.938 kB / 0.7603 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7626, allocations: 0 / 0.7603 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7626, allocations: 0 / 0.7603 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.7627, allocations: 65.12 kB / 0.7604 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.7628, allocations: 77.11 kB / 0.7604 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.7628, allocations: 3.953 kB / 0.7604 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-06/0.7629, allocations: 0 / 0.7604 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.7629, allocations: 0 / 0.7604 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-06/0.7629, allocations: 4 kB / 0.7605 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.7629, allocations: 75.28 kB / 0.7605 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7629, allocations: 0 / 0.7605 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002921/0.7632, allocations: 15.94 kB / 0.7605 GB, free: 1.969 MB / 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 (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.0006596/0.7639, allocations: 0.6163 MB / 0.7611 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.764, allocations: 8.031 kB / 0.7611 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.764, allocations: 0 / 0.7611 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.764, allocations: 4 kB / 0.7612 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.7642, allocations: 7.953 kB / 0.7612 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.7646, allocations: 120.2 kB / 0.7613 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.7649, allocations: 0.6731 MB / 0.7619 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.7649, allocations: 0 / 0.7619 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.765, allocations: 11.42 kB / 0.7619 GB, free: 440 kB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.765, allocations: 0 / 0.7619 GB, free: 440 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.7817, allocations: 0.9202 MB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.7821, allocations: 186 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.298, allocations: 7.938 kB / 0.763 GB, free: 15.39 MB / 0.5417 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)