Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_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.005018/0.005017, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001221/0.001221, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00242/0.00242, allocations: 279 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 100.5 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4828, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002465/0.4853, allocations: 1.439 MB / 0.7828 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.4857, allocations: 168.6 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.4857, allocations: 0 / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.4858, allocations: 4.5 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.4858, allocations: 0 / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.4861, allocations: 38.39 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.4861, allocations: 24.23 kB / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.4862, allocations: 4.438 kB / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.4863, allocations: 8.469 kB / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.4863, allocations: 13.59 kB / 0.783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.4863, allocations: 6.062 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4865, allocations: 39.31 kB / 0.783 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.4865, allocations: 2.062 kB / 0.783 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.4865, allocations: 15.78 kB / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.4866, allocations: 49.94 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4867, allocations: 0 / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4867, allocations: 0 / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4867, allocations: 0 / 0.7831 GB, free: 12.64 MB / 0.5606 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.0004476/0.4871, allocations: 345.7 kB / 0.7834 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.4872, allocations: 13.22 kB / 0.7835 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.4872, allocations: 32.52 kB / 0.7835 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.4873, allocations: 2.703 kB / 0.7835 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4874, allocations: 168 kB / 0.7836 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4874, allocations: 8.312 kB / 0.7837 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.4874, allocations: 2.438 kB / 0.7837 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4876, allocations: 49.62 kB / 0.7837 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4876, allocations: 3.938 kB / 0.7837 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.4876, allocations: 0 / 0.7837 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4876, allocations: 4 kB / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4878, allocations: 37.5 kB / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.4881, allocations: 246.3 kB / 0.784 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.4883, allocations: 41.53 kB / 0.784 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.4884, allocations: 23.06 kB / 0.784 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.4885, allocations: 88.14 kB / 0.7841 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4886, allocations: 36.62 kB / 0.7842 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4886, allocations: 0 / 0.7842 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.4889, allocations: 83.34 kB / 0.7842 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.489, allocations: 62.03 kB / 0.7843 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.4891, allocations: 100.6 kB / 0.7844 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4891, allocations: 25.7 kB / 0.7844 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.4892, allocations: 85.98 kB / 0.7845 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.4892, allocations: 9.656 kB / 0.7845 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4892, allocations: 12.06 kB / 0.7845 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4894, allocations: 317.3 kB / 0.7848 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.4894, allocations: 17.91 kB / 0.7848 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.4895, allocations: 18.8 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4897, allocations: 37.39 kB / 0.7849 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4897, allocations: 7.875 kB / 0.7849 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.4899, allocations: 62.58 kB / 0.785 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4899, allocations: 11.47 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4899, allocations: 0.6094 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.49, allocations: 1.312 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.49, allocations: 8.109 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.49, allocations: 1.188 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.4901, allocations: 5.875 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.4901, allocations: 1.906 kB / 0.785 GB, free: 10.78 MB / 0.5606 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 7.714e-05/0.4902, allocations: 115 kB / 0.7851 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4902, allocations: 10.12 kB / 0.7851 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4905, allocations: 70.62 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4905, allocations: 1.531 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4905, allocations: 0 / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4905, allocations: 1.125 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4907, allocations: 160.6 kB / 0.7853 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4907, allocations: 0 / 0.7853 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.4907, allocations: 8.188 kB / 0.7853 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4907, allocations: 7.938 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4907, allocations: 1.734 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4908, allocations: 0 / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4908, allocations: 2 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.491, allocations: 165.2 kB / 0.7855 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.4911, allocations: 83.19 kB / 0.7856 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4911, allocations: 2.078 kB / 0.7856 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.4912, allocations: 5.078 kB / 0.7856 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4912, allocations: 7.891 kB / 0.7856 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4912, allocations: 0 / 0.7856 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.4913, allocations: 84.67 kB / 0.7857 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4913, allocations: 0 / 0.7857 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002268/0.4915, allocations: 10.31 kB / 0.7857 GB, free: 10.09 MB / 0.5606 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.0006229/0.4921, allocations: 0.7114 MB / 0.7864 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4924, allocations: 42.8 kB / 0.7864 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4924, allocations: 1.312 kB / 0.7864 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.4925, allocations: 19.64 kB / 0.7865 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.4927, allocations: 3.391 kB / 0.7865 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4931, allocations: 126.4 kB / 0.7866 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4934, allocations: 0.6754 MB / 0.7872 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.4934, allocations: 6.016 kB / 0.7872 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.4935, allocations: 13.33 kB / 0.7873 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4935, allocations: 0 / 0.7873 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.5132, allocations: 1.535 MB / 0.7888 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.299, allocations: 1.875 kB / 0.7888 GB, free: 8.148 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)