Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_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.001492/0.001492, 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.001939/0.001939, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.637/1.637, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001539/0.001539, allocations: 67.27 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001928/0.2245, allocations: 0.5891 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003327/0.2248, allocations: 103.6 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.2249, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.2249, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.2249, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2253, allocations: 31.91 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.2253, allocations: 4 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.2254, allocations: 3.938 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.163e-05/0.2254, allocations: 0 / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.2254, allocations: 7.984 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2254, allocations: 0 / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2256, allocations: 39.84 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.2256, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.2256, allocations: 11.98 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2257, allocations: 23.97 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2257, allocations: 0 / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2257, allocations: 0 / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2257, allocations: 0 / 0.7844 GB, free: 12.44 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002698/0.226, allocations: 311.6 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2261, allocations: 12.03 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.2261, allocations: 38.67 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.2262, allocations: 4.938 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.2262, allocations: 160.4 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2263, allocations: 384 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.2263, allocations: 384 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.2264, allocations: 26.27 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2264, allocations: 3.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2264, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2264, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.2264, allocations: 8 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.2266, allocations: 145.7 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.2266, allocations: 22.55 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.2266, allocations: 4.859 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.2269, allocations: 89.16 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2269, allocations: 30.56 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2269, allocations: 7.938 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.2271, allocations: 33.64 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2271, allocations: 59.34 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.2272, allocations: 89.86 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2272, allocations: 25.7 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2272, allocations: 80.14 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.2273, allocations: 7.891 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.2273, allocations: 13.72 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2274, allocations: 319 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.2274, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.2274, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.2275, allocations: 8.859 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2275, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.04e-05/0.2275, allocations: 45.56 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2276, allocations: 11.98 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2276, allocations: 3.938 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2276, allocations: 4.094 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.2276, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2276, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.2277, allocations: 4 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2277, allocations: 4 kB / 0.7859 GB, free: 10.64 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 (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 8.092e-05/0.2278, allocations: 105.8 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.2278, allocations: 0 / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/0.2279, allocations: 41.03 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2279, allocations: 4.031 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2279, allocations: 0 / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2279, allocations: 0 / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.686e-05/0.228, allocations: 149.7 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.228, allocations: 0 / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.228, allocations: 3.938 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.228, allocations: 3.984 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.228, allocations: 3.938 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2281, allocations: 4 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2281, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.217e-05/0.2281, allocations: 53.14 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.2282, allocations: 85.05 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2282, allocations: 11.86 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.2283, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.2283, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.2283, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.2283, allocations: 75.28 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2283, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002065/0.2285, allocations: 16.03 kB / 0.7865 GB, free: 9.984 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 (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.0004222/0.229, allocations: 0.6085 MB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.229, allocations: 8.031 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.229, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.229, allocations: 3.984 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.2292, allocations: 6.406 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.2295, allocations: 118.5 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2297, allocations: 0.669 MB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.2298, allocations: 3.984 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2298, allocations: 7.438 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2298, allocations: 8.062 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2477, allocations: 1.127 MB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.544, allocations: 21.98 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)