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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 98.19 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.007275/0.007275, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001619/0.001619, allocations: 270.4 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004389, allocations: 16.22 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1678, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006718/0.1685, allocations: 315.3 kB / 0.6854 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.1689, allocations: 96.92 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-06/0.1689, allocations: 0 / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.1689, allocations: 0 / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.957e-06/0.1689, allocations: 1.781 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1692, allocations: 35.91 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.044e-05/0.1692, allocations: 3.984 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.1693, allocations: 8 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.1693, allocations: 2.656 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.1693, allocations: 0 / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.1693, allocations: 0 / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1695, allocations: 39.91 kB / 0.6856 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1695, allocations: 3.984 kB / 0.6856 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1695, allocations: 25.7 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.1696, allocations: 23.97 kB / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1696, allocations: 0.5 kB / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.911e-06/0.1696, allocations: 0 / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1697, allocations: 4.438 kB / 0.6857 GB, free: 14.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002423/0.1699, allocations: 321.2 kB / 0.686 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1699, allocations: 8.031 kB / 0.686 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.17, allocations: 0.9375 kB / 0.686 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.1701, allocations: 161.3 kB / 0.6861 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1701, allocations: 8.312 kB / 0.6861 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.1701, allocations: 384 / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/0.1702, allocations: 27.02 kB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1702, allocations: 1.375 kB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1702, allocations: 7.938 kB / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1702, allocations: 0 / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.1702, allocations: 8.516 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.1704, allocations: 146.7 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.1704, allocations: 28.22 kB / 0.6864 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.1704, allocations: 4.859 kB / 0.6864 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.1706, allocations: 89.09 kB / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1707, allocations: 33.75 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1707, allocations: 0 / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.1708, allocations: 41.62 kB / 0.6865 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1708, allocations: 51.41 kB / 0.6866 GB, free: 13.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.506e-05/0.1709, allocations: 89.86 kB / 0.6867 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1709, allocations: 29.7 kB / 0.6867 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.1709, allocations: 82.08 kB / 0.6868 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.171, allocations: 0 / 0.6868 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.171, allocations: 9.719 kB / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.1711, allocations: 314.8 kB / 0.6871 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.1711, allocations: 0.5312 kB / 0.6871 GB, free: 12.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.1711, allocations: 5.719 kB / 0.6871 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.1711, allocations: 8.859 kB / 0.6871 GB, free: 12.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1711, allocations: 0 / 0.6871 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.895e-05/0.1712, allocations: 38.56 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1712, allocations: 5.875 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1712, allocations: 0.7188 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1712, allocations: 4.562 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.329e-05/0.1713, allocations: 7.938 kB / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1713, allocations: 1.406 kB / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-06/0.1713, allocations: 4.219 kB / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.1713, allocations: 0 / 0.6871 GB, free: 12.79 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 (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 5.785e-05/0.1714, allocations: 107.8 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1714, allocations: 224 / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.1715, allocations: 52.69 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1715, allocations: 4 kB / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1715, allocations: 0 / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1715, allocations: 0 / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.279e-05/0.1716, allocations: 145.7 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1716, allocations: 3.984 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.1716, allocations: 4 kB / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1716, allocations: 0 / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1716, allocations: 3.938 kB / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1716, allocations: 0 / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1716, allocations: 4.031 kB / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.884e-05/0.1717, allocations: 61.08 kB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.1717, allocations: 85 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.1718, allocations: 3.938 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-06/0.1718, allocations: 0 / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.1718, allocations: 0 / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.1718, allocations: 0 / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.593e-05/0.1718, allocations: 83.25 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1718, allocations: 0 / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1721, allocations: 12 kB / 0.6877 GB, free: 12.13 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 (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.0001679/0.1723, allocations: 111.2 kB / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.261e-05/0.1723, allocations: 4 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1723, allocations: 4 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.1723, allocations: 4 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1725, allocations: 6.469 kB / 0.6878 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.1726, allocations: 78.7 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1728, allocations: 0.6731 MB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.478e-06/0.1728, allocations: 0 / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.1728, allocations: 7.438 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1729, allocations: 4 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of Templates: time 0.002317/0.1752, allocations: 398.3 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)