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: translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007532/0.0007531, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004836/0.004836, allocations: 170 kB / 16.27 MB, free: 6.66 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001611/0.001611, allocations: 267.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9675/0.9675, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005637, allocations: 18.75 kB / 0.5987 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1962, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001562/0.1978, allocations: 1.155 MB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.1982, allocations: 157 kB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.1983, allocations: 0 / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.1983, allocations: 0.5 kB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.1984, allocations: 0.625 kB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1986, allocations: 40.45 kB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.1987, allocations: 19.94 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.1988, allocations: 10.52 kB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.1989, allocations: 7.938 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.1989, allocations: 11.83 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1989, allocations: 4 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1991, allocations: 35.91 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1991, allocations: 8.875 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.1991, allocations: 33.69 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1993, allocations: 47.88 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1993, allocations: 0.5625 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1993, allocations: 2.25 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1993, allocations: 0 / 0.6866 GB, free: 13.54 MB / 494.1 MB 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.000425/0.1997, allocations: 339.8 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1998, allocations: 10.44 kB / 0.6869 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.1998, allocations: 4.844 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1999, allocations: 168.4 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2, allocations: 4.312 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2, allocations: 4.375 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2002, allocations: 55.62 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2002, allocations: 1.594 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2002, allocations: 11.88 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2002, allocations: 4 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2004, allocations: 43.22 kB / 0.6872 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.2007, allocations: 249 kB / 0.6875 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.2008, allocations: 48.81 kB / 0.6875 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.2009, allocations: 25.78 kB / 0.6875 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.2011, allocations: 89.78 kB / 0.6876 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2012, allocations: 31.34 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2012, allocations: 1.281 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003794/0.2015, allocations: 93.64 kB / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2016, allocations: 59.34 kB / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.2017, allocations: 101.8 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2017, allocations: 25.7 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.2017, allocations: 88.27 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.2018, allocations: 3.906 kB / 0.688 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.2018, allocations: 13.72 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.2019, allocations: 314.8 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.202, allocations: 19.98 kB / 0.6883 GB, free: 11.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.2021, allocations: 23.98 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2022, allocations: 44.83 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2023, allocations: 0 / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.2025, allocations: 89.56 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2025, allocations: 11.94 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2025, allocations: 3.984 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2025, allocations: 3.938 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.2026, allocations: 16.02 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2026, allocations: 0 / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.2027, allocations: 11.92 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.2027, allocations: 4 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB 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.234e-05/0.2028, allocations: 111.1 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2028, allocations: 0 / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.203, allocations: 84.78 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.203, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2031, allocations: 4 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2031, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.2032, allocations: 161.6 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2032, allocations: 3.938 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.2033, allocations: 19.95 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2033, allocations: 0 / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2033, allocations: 0 / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2033, allocations: 0 / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2033, allocations: 0 / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2036, allocations: 179.5 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2036, allocations: 77.11 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2036, allocations: 4 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.2037, allocations: 11.98 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.2037, allocations: 0 / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.2038, allocations: 0 / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.2038, allocations: 83.5 kB / 0.6893 GB, free: 10.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2038, allocations: 0 / 0.6893 GB, free: 10.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000228/0.204, allocations: 20 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB 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.000179/0.2042, allocations: 111.4 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.2044, allocations: 51.89 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2044, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.2045, allocations: 23.98 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2048, allocations: 7.938 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.2051, allocations: 116.7 kB / 0.6896 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2053, allocations: 0.6731 MB / 0.6902 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2053, allocations: 0 / 0.6902 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2054, allocations: 7.438 kB / 0.6902 GB, free: 9.441 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2054, allocations: 3.938 kB / 0.6902 GB, free: 9.438 MB / 494.1 MB Notification: Performance of Templates: time 0.002692/0.2081, allocations: 0.5856 MB / 0.6908 GB, free: 8.859 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)