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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009487, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00693/0.00693, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.878/0.878, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 12 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0005103/0.1254, allocations: 303.1 kB / 0.5884 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.1257, allocations: 103.7 kB / 0.5885 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-06/0.1258, allocations: 0 / 0.5885 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-06/0.1258, allocations: 3.938 kB / 0.5885 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-06/0.1258, allocations: 0 / 0.5885 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.126, allocations: 31.91 kB / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.002e-05/0.126, allocations: 0 / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.1261, allocations: 3.984 kB / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.072e-05/0.1261, allocations: 3.938 kB / 0.5885 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.232e-05/0.1261, allocations: 4 kB / 0.5885 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.1261, allocations: 0 / 0.5885 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1262, allocations: 35.91 kB / 0.5886 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-06/0.1263, allocations: 11.98 kB / 0.5886 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.1263, allocations: 29.7 kB / 0.5886 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.598e-05/0.1264, allocations: 23.97 kB / 0.5886 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1264, allocations: 0 / 0.5886 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1264, allocations: 0 / 0.5886 GB, free: 1.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.164e-06/0.1264, allocations: 0 / 0.5886 GB, free: 1.965 MB / 494.1 MB 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.0002016/0.1266, allocations: 315.6 kB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.1266, allocations: 8.031 kB / 0.5889 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.1267, allocations: 30.75 kB / 0.589 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1267, allocations: 4.938 kB / 0.589 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.1268, allocations: 164.3 kB / 0.5891 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.1268, allocations: 384 / 0.5891 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1268, allocations: 4.375 kB / 0.5891 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.775e-05/0.1269, allocations: 34.27 kB / 0.5892 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.1269, allocations: 3.938 kB / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.1269, allocations: 0 / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1269, allocations: 0 / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.1269, allocations: 11.92 kB / 0.5892 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.127, allocations: 145.7 kB / 0.5893 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.713e-05/0.127, allocations: 18.52 kB / 0.5893 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.1271, allocations: 8.953 kB / 0.5893 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.1272, allocations: 89.09 kB / 0.5894 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.1272, allocations: 30.56 kB / 0.5895 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1273, allocations: 0 / 0.5895 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001014/0.1274, allocations: 33.73 kB / 0.5895 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.1274, allocations: 59.42 kB / 0.5895 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.766e-05/0.1274, allocations: 89.86 kB / 0.5896 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1274, allocations: 29.64 kB / 0.5897 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.1275, allocations: 80.14 kB / 0.5897 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1275, allocations: 11.91 kB / 0.5897 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1275, allocations: 9.719 kB / 0.5898 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.1276, allocations: 310.8 kB / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.1276, allocations: 0 / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.1276, allocations: 7.938 kB / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.794e-05/0.1277, allocations: 8.859 kB / 0.5901 GB, free: 244 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1277, allocations: 0 / 0.5901 GB, free: 244 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.418e-05/0.1277, allocations: 33.69 kB / 0.5901 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1278, allocations: 8 kB / 0.5901 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1278, allocations: 3.938 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.1278, allocations: 3.984 kB / 0.5901 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.624e-05/0.1278, allocations: 3.938 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1278, allocations: 96 / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.1278, allocations: 12 kB / 0.5901 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-06/0.1278, allocations: 0 / 0.5901 GB, free: 172 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.1279, allocations: 105.8 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1279, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.128, allocations: 40.75 kB / 0.5903 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.128, allocations: 0 / 0.5903 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.128, allocations: 0 / 0.5903 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.128, allocations: 4 kB / 0.5903 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285e-05/0.1281, allocations: 149.7 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1281, allocations: 0 / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.1281, allocations: 3.984 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1281, allocations: 7.938 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.1281, allocations: 7.938 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1281, allocations: 0 / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1281, allocations: 3.938 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.1282, allocations: 49.14 kB / 0.5905 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.1282, allocations: 81.14 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1283, allocations: 11.92 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.1283, allocations: 4 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-06/0.1283, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1283, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.1283, allocations: 75.28 kB / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1283, allocations: 0 / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001735/0.1285, allocations: 12 kB / 0.5907 GB, free: 15.52 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.1288, allocations: 0.6126 MB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.64e-05/0.1289, allocations: 4 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1289, allocations: 0 / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.1289, allocations: 8.078 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.129, allocations: 4 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.1292, allocations: 106.1 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1294, allocations: 0.677 MB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1294, allocations: 7.969 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.112e-05/0.1295, allocations: 11.38 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1295, allocations: 3.938 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/0.3441, allocations: 0.9388 MB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.3443, allocations: 213.4 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.04, allocations: 0 / 0.5932 GB, free: 12.95 MB / 0.4981 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/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)