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.001064/0.001064, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 188 kB / 16.62 MB, free: 6.582 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.717/1.717, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001427/0.001427, allocations: 79.7 kB / 0.6718 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2311, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002538/0.2337, allocations: 1.432 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.2341, allocations: 152.4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.2341, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.2342, allocations: 3.938 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.2342, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2345, allocations: 43.84 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.2346, allocations: 23.92 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.2347, allocations: 11.92 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.2347, allocations: 11.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.2348, allocations: 19.86 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.2348, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2349, allocations: 35.97 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.2349, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.2349, allocations: 7.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2351, allocations: 51.8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2351, allocations: 8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2351, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2351, allocations: 0 / 0.7854 GB, free: 11.43 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.0003963/0.2355, allocations: 343.7 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2355, allocations: 12.03 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.2356, allocations: 30.75 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.2356, allocations: 0.9375 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2357, allocations: 164.4 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2357, allocations: 4.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2358, allocations: 4.359 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2359, allocations: 50.23 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.236, allocations: 3.938 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.236, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.236, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2361, allocations: 39.89 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2364, allocations: 252.8 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.2366, allocations: 42.53 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.2367, allocations: 16.91 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.2368, allocations: 85.09 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2369, allocations: 42.56 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2369, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.2372, allocations: 77.58 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2373, allocations: 55.41 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2374, allocations: 101.8 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2374, allocations: 25.7 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.2374, allocations: 84.27 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2375, allocations: 11.89 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2375, allocations: 13.72 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2376, allocations: 310.8 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.2377, allocations: 23.97 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.2378, allocations: 11.98 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2379, allocations: 48.77 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2379, allocations: 3.938 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.2381, allocations: 65.66 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2382, allocations: 12.88 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2382, allocations: 0 / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2382, allocations: 0 / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.2383, allocations: 7.984 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2383, allocations: 8.031 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.2383, allocations: 0 / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.2383, allocations: 4 kB / 0.7873 GB, free: 9.254 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 6.626e-05/0.2384, allocations: 117.7 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.2384, allocations: 0 / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.2387, allocations: 76.72 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2387, allocations: 4.031 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2387, allocations: 0 / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2387, allocations: 0 / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2389, allocations: 165.5 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2389, allocations: 4 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.2389, allocations: 8 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2389, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2389, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2389, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2389, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2392, allocations: 171.4 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2392, allocations: 85.09 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2392, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.2393, allocations: 4 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.2394, allocations: 4.172 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2394, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.2394, allocations: 91.3 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2394, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002383/0.2397, allocations: 12 kB / 0.788 GB, free: 8.426 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.0005472/0.2402, allocations: 0.7085 MB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2404, allocations: 35.91 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2404, allocations: 3.938 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.2405, allocations: 23.97 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2408, allocations: 4.125 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.2412, allocations: 143 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2415, allocations: 0.6768 MB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.2415, allocations: 0 / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.2415, allocations: 11.44 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2415, allocations: 3.938 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.2588, allocations: 1.489 MB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.575, allocations: 15.41 kB / 0.791 GB, free: 5.309 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)