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.007719/0.007719, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001809/0.001809, allocations: 202.8 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002474/0.002473, allocations: 290.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 91.86 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1979, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003773/0.2017, allocations: 1.427 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.2023, allocations: 156.4 kB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.2024, allocations: 3.938 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.2024, allocations: 0 / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.2025, allocations: 7.938 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2029, allocations: 39.89 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.203, allocations: 23.92 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.2031, allocations: 4 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.2031, allocations: 11.94 kB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.2032, allocations: 11.98 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2032, allocations: 0 / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.2034, allocations: 39.97 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2035, allocations: 7.922 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.2035, allocations: 11.92 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2037, allocations: 52.03 kB / 0.7677 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2037, allocations: 4 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2037, allocations: 4 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2037, allocations: 0 / 0.7677 GB, free: 7.098 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.0005955/0.2043, allocations: 339.4 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.2044, allocations: 12.03 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.2044, allocations: 30.75 kB / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.2045, allocations: 4.922 kB / 0.768 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.2047, allocations: 168.3 kB / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2047, allocations: 384 / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2047, allocations: 8.375 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.205, allocations: 50.17 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.205, allocations: 7.875 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.205, allocations: 4 kB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.205, allocations: 0 / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.2053, allocations: 31.97 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.2057, allocations: 252.9 kB / 0.7685 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2059, allocations: 38.5 kB / 0.7686 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.206, allocations: 20.89 kB / 0.7686 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.2063, allocations: 89.05 kB / 0.7687 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.2063, allocations: 38.55 kB / 0.7687 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2064, allocations: 4 kB / 0.7687 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005052/0.2069, allocations: 69.66 kB / 0.7688 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.2069, allocations: 59.39 kB / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2071, allocations: 101.8 kB / 0.7689 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2071, allocations: 25.7 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.2072, allocations: 84.27 kB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.2072, allocations: 7.953 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.2073, allocations: 17.7 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.2075, allocations: 310.8 kB / 0.7694 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2077, allocations: 23.92 kB / 0.7694 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2078, allocations: 11.98 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.208, allocations: 48.88 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.2081, allocations: 3.938 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003168/0.2084, allocations: 57.67 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2084, allocations: 11.98 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2084, allocations: 0 / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2085, allocations: 0 / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2086, allocations: 4 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2086, allocations: 4.031 kB / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.2087, allocations: 7.984 kB / 0.7695 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2087, allocations: 4 kB / 0.7695 GB, free: 4.93 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 0.0001195/0.2088, allocations: 118.3 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.2089, allocations: 3.953 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2092, allocations: 72.78 kB / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2092, allocations: 8.016 kB / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2093, allocations: 0 / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2093, allocations: 0 / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.2095, allocations: 165.5 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2096, allocations: 0 / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.2097, allocations: 11.98 kB / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2097, allocations: 0 / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2097, allocations: 0 / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2097, allocations: 3.984 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2097, allocations: 0 / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.2101, allocations: 175.4 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.2102, allocations: 77.11 kB / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2102, allocations: 4 kB / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2103, allocations: 7.984 kB / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.2104, allocations: 0 / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2104, allocations: 0 / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.889e-05/0.2105, allocations: 91.3 kB / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2105, allocations: 0 / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004484/0.211, allocations: 11.94 kB / 0.7703 GB, free: 4.098 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.0009716/0.2119, allocations: 0.7124 MB / 0.771 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.2123, allocations: 35.95 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2123, allocations: 0 / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2124, allocations: 19.98 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.2129, allocations: 8.062 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.2135, allocations: 139.1 kB / 0.7711 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2139, allocations: 0.6767 MB / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.214, allocations: 0 / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.214, allocations: 19.42 kB / 0.7718 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.214, allocations: 0 / 0.7718 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2392, allocations: 1.513 MB / 0.7733 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.896, allocations: 20.86 kB / 0.7733 GB, free: 0.9766 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)