Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.0007635/0.0007635, allocations: 98.03 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.005044/0.005044, allocations: 169.5 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006042/0.0006042, allocations: 17.78 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.284, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002139/0.2862, allocations: 1.156 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.2869, allocations: 156.4 kB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.287, allocations: 4 kB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.287, allocations: 0 / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.2871, allocations: 3.938 kB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2876, allocations: 31.97 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.2877, allocations: 27.86 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2878, allocations: 11.98 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.2879, allocations: 3.984 kB / 0.7894 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.288, allocations: 11.94 kB / 0.7894 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.288, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.2882, allocations: 43.89 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.2883, allocations: 3.984 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.2883, allocations: 37.64 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.2885, allocations: 47.86 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2885, allocations: 3.938 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2885, allocations: 0 / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2886, allocations: 7.938 kB / 0.7895 GB, free: 9.961 MB / 0.6075 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.0005326/0.2891, allocations: 343.7 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.2892, allocations: 12.03 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.2892, allocations: 30.75 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.2893, allocations: 0.9375 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2894, allocations: 168.4 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2895, allocations: 384 / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2895, allocations: 4.375 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.2897, allocations: 54.23 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2897, allocations: 3.938 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2898, allocations: 0 / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.2898, allocations: 4 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.29, allocations: 51.89 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.2904, allocations: 240.9 kB / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.2905, allocations: 50.53 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.2907, allocations: 24.91 kB / 0.7904 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.2909, allocations: 89.09 kB / 0.7905 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2909, allocations: 34.56 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.654e-06/0.2909, allocations: 0 / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004568/0.2914, allocations: 105.5 kB / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2914, allocations: 51.41 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2915, allocations: 102 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2915, allocations: 29.7 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.2916, allocations: 84.14 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2916, allocations: 3.906 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2917, allocations: 13.72 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2918, allocations: 310.8 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.2919, allocations: 19.98 kB / 0.7913 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.292, allocations: 27.97 kB / 0.7913 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2922, allocations: 52.77 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2922, allocations: 8 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002351/0.2924, allocations: 73.66 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2924, allocations: 7.938 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2925, allocations: 4 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2925, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.2926, allocations: 16.02 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2926, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.2926, allocations: 4 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2927, allocations: 4 kB / 0.7914 GB, free: 7.719 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 8.943e-05/0.2927, allocations: 117.7 kB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2928, allocations: 0 / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.2931, allocations: 88.72 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2931, allocations: 3.938 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.2931, allocations: 4 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2931, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2933, allocations: 157.6 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2933, allocations: 4.031 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.2934, allocations: 11.98 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2934, allocations: 0 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2934, allocations: 192 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2934, allocations: 0 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2934, allocations: 0 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.2937, allocations: 191.3 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.2938, allocations: 81.09 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2938, allocations: 0 / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.2939, allocations: 8 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2939, allocations: 3.984 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2939, allocations: 4.031 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.294, allocations: 83.28 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.294, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002372/0.2942, allocations: 12 kB / 0.7922 GB, free: 6.863 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0006583/0.2949, allocations: 0.7174 MB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.2951, allocations: 51.94 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2951, allocations: 0 / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.2952, allocations: 27.97 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2956, allocations: 2.656 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.2961, allocations: 151.3 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2964, allocations: 0.677 MB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.2964, allocations: 3.984 kB / 0.7938 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.2964, allocations: 7.438 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.2964, allocations: 0 / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.3077, allocations: 1.262 MB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.308, allocations: 208.2 kB / 0.7952 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.01, allocations: 0 / 0.7952 GB, free: 3.75 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)