Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_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.002029/0.002029, allocations: 108.6 kB / 15.73 MB, free: 72 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.001524/0.001525, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002663/0.002663, allocations: 278.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 104.1 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1828, allocations: 86.96 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001745/0.1846, allocations: 0.5783 MB / 0.7665 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003829/0.185, allocations: 111.6 kB / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.185, allocations: 0 / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.185, allocations: 0 / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.185, allocations: 0 / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1854, allocations: 31.84 kB / 0.7666 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.1855, allocations: 4 kB / 0.7666 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.1855, allocations: 4 kB / 0.7666 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.1855, allocations: 0 / 0.7666 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.1856, allocations: 0 / 0.7666 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.1856, allocations: 4 kB / 0.7667 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1857, allocations: 43.95 kB / 0.7667 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.1858, allocations: 0 / 0.7667 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.1858, allocations: 0 / 0.7667 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1859, allocations: 36.11 kB / 0.7667 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1859, allocations: 0 / 0.7667 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1859, allocations: 0 / 0.7667 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1859, allocations: 3.938 kB / 0.7667 GB, free: 8.094 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003497/0.1863, allocations: 319.5 kB / 0.767 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1863, allocations: 8.031 kB / 0.767 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1864, allocations: 38.75 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.1864, allocations: 0.9375 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1866, allocations: 160.4 kB / 0.7672 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1866, allocations: 4.375 kB / 0.7672 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.1866, allocations: 384 / 0.7672 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.605e-05/0.1867, allocations: 34.25 kB / 0.7673 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1867, allocations: 3.938 kB / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1867, allocations: 0 / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1867, allocations: 0 / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.1868, allocations: 3.938 kB / 0.7673 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1869, allocations: 145.7 kB / 0.7674 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.187, allocations: 22.61 kB / 0.7674 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.187, allocations: 4.859 kB / 0.7674 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.1872, allocations: 85.16 kB / 0.7675 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1872, allocations: 30.56 kB / 0.7676 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1872, allocations: 0 / 0.7676 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.1874, allocations: 49.56 kB / 0.7676 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1875, allocations: 51.41 kB / 0.7677 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.1875, allocations: 93.86 kB / 0.7677 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1875, allocations: 25.7 kB / 0.7678 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.1876, allocations: 80.14 kB / 0.7678 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1876, allocations: 3.953 kB / 0.7678 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1876, allocations: 13.72 kB / 0.7679 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1878, allocations: 311 kB / 0.7682 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.1878, allocations: 4 kB / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.1878, allocations: 0 / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.1878, allocations: 16.84 kB / 0.7682 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1878, allocations: 0 / 0.7682 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.455e-05/0.1879, allocations: 33.64 kB / 0.7682 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1879, allocations: 8 kB / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1879, allocations: 3.938 kB / 0.7682 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.188, allocations: 0 / 0.7682 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.188, allocations: 4.094 kB / 0.7682 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.188, allocations: 0 / 0.7682 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.188, allocations: 7.938 kB / 0.7682 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.188, allocations: 0 / 0.7682 GB, free: 6.305 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 (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 7.885e-05/0.1881, allocations: 110.5 kB / 0.7683 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.1881, allocations: 0 / 0.7683 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.1882, allocations: 44.7 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1882, allocations: 3.938 kB / 0.7684 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1882, allocations: 8.031 kB / 0.7684 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1882, allocations: 4 kB / 0.7684 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1884, allocations: 145.7 kB / 0.7685 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1884, allocations: 0 / 0.7685 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.1884, allocations: 0 / 0.7685 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1884, allocations: 0 / 0.7685 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1884, allocations: 7.938 kB / 0.7685 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1884, allocations: 0 / 0.7685 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1884, allocations: 0 / 0.7685 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.1885, allocations: 61.12 kB / 0.7686 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1885, allocations: 77.11 kB / 0.7687 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.1886, allocations: 7.938 kB / 0.7687 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.1886, allocations: 0 / 0.7687 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.1886, allocations: 0 / 0.7687 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1886, allocations: 3.938 kB / 0.7687 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.1886, allocations: 75.28 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1886, allocations: 0 / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000195/0.1888, allocations: 11.94 kB / 0.7688 GB, free: 5.656 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 (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.0004669/0.1893, allocations: 0.6086 MB / 0.7694 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.1894, allocations: 4.031 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1894, allocations: 4.062 kB / 0.7694 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.1894, allocations: 7.938 kB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1896, allocations: 6.281 kB / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.1899, allocations: 114.5 kB / 0.7695 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1902, allocations: 0.6729 MB / 0.7701 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.1902, allocations: 3.984 kB / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.1902, allocations: 15.38 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1902, allocations: 0 / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2117, allocations: 1.162 MB / 0.7713 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.947, allocations: 11.62 kB / 0.7713 GB, free: 3.094 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.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_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)