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.00095/0.0009501, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.73/0.73, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0009389/0.0009389, allocations: 101.7 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.404e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4784, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.641, allocations: 110.8 MB / 0.7421 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.6415, allocations: 75.94 kB / 0.7422 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003767/0.6453, allocations: 1.045 MB / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6453, allocations: 0 / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6453, allocations: 0 / 0.7432 GB, free: 10.78 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.0004118/0.6457, allocations: 346.5 kB / 0.7435 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6458, allocations: 11.97 kB / 0.7435 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.6459, allocations: 7.906 kB / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.646, allocations: 167 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.646, allocations: 0 / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.6461, allocations: 4 kB / 0.7437 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.93e-05/0.6461, allocations: 11.98 kB / 0.7437 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.6462, allocations: 33.7 kB / 0.7437 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6462, allocations: 3.938 kB / 0.7437 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.6463, allocations: 0 / 0.7437 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6463, allocations: 0 / 0.7437 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.6468, allocations: 253.5 kB / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.6468, allocations: 26.52 kB / 0.744 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.6469, allocations: 12.92 kB / 0.744 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.6471, allocations: 85.09 kB / 0.7441 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.6471, allocations: 34.56 kB / 0.7441 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6471, allocations: 0 / 0.7441 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.6473, allocations: 37.7 kB / 0.7442 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.6474, allocations: 51.41 kB / 0.7442 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.6474, allocations: 96.98 kB / 0.7443 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.6475, allocations: 29.7 kB / 0.7443 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.6475, allocations: 84.08 kB / 0.7444 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6475, allocations: 11.78 kB / 0.7444 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.6476, allocations: 0 / 0.7444 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6477, allocations: 322.8 kB / 0.7447 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.6477, allocations: 4 kB / 0.7447 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.6477, allocations: 8 kB / 0.7448 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.6478, allocations: 0 / 0.7448 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6478, allocations: 4 kB / 0.7448 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.02e-05/0.6479, allocations: 45.59 kB / 0.7448 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6479, allocations: 4.781 kB / 0.7448 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6479, allocations: 0 / 0.7448 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6479, allocations: 4.094 kB / 0.7448 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.6481, allocations: 15.98 kB / 0.7448 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6481, allocations: 0 / 0.7448 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.6481, allocations: 4 kB / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.6481, allocations: 0 / 0.7448 GB, free: 8.879 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 () * 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 8.798e-05/0.6482, allocations: 112.9 kB / 0.7449 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.725e-05/0.6483, allocations: 45.64 kB / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.6484, allocations: 0 / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.6485, allocations: 49.44 kB / 0.745 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6485, allocations: 0 / 0.745 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6485, allocations: 0 / 0.745 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6485, allocations: 192 / 0.745 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.6487, allocations: 142.2 kB / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6487, allocations: 0 / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.6488, allocations: 15.97 kB / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6488, allocations: 4.062 kB / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6488, allocations: 3.938 kB / 0.7452 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6488, allocations: 4 kB / 0.7452 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6488, allocations: 3.938 kB / 0.7452 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.649, allocations: 135.5 kB / 0.7453 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.649, allocations: 81.02 kB / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.649, allocations: 4 kB / 0.7454 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.6491, allocations: 12.02 kB / 0.7454 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.6492, allocations: 0 / 0.7454 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6492, allocations: 4 kB / 0.7454 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.6493, allocations: 83.27 kB / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6493, allocations: 3.938 kB / 0.7455 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000241/0.6495, allocations: 16 kB / 0.7455 GB, free: 8.086 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 () * 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.0006746/0.6502, allocations: 0.6954 MB / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.6503, allocations: 12 kB / 0.7462 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6503, allocations: 0 / 0.7462 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.6503, allocations: 8 kB / 0.7462 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.6506, allocations: 12.12 kB / 0.7462 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.651, allocations: 101.5 kB / 0.7463 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.6514, allocations: 0.6807 MB / 0.747 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.6514, allocations: 0 / 0.747 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.6515, allocations: 7.438 kB / 0.747 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6515, allocations: 0 / 0.747 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6714, allocations: 0.9108 MB / 0.7479 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.6716, allocations: 136.8 kB / 0.748 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.137, allocations: 0 / 0.748 GB, free: 5.387 MB / 0.5261 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)