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.001509/0.00151, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001499/0.001499, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 286.9 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.507 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 105.1 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1717, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002642/0.1743, allocations: 1.496 MB / 0.6944 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004088/0.1748, allocations: 156.3 kB / 0.6946 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1748, allocations: 0 / 0.6946 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.1748, allocations: 7.938 kB / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.1749, allocations: 0 / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1752, allocations: 31.92 kB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.1752, allocations: 23.92 kB / 0.6947 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.884e-05/0.1753, allocations: 4 kB / 0.6947 GB, free: 3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.1753, allocations: 20.69 kB / 0.6947 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.1754, allocations: 4 kB / 0.6947 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1754, allocations: 0 / 0.6947 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1755, allocations: 49.23 kB / 0.6947 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1755, allocations: 3.938 kB / 0.6947 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1756, allocations: 8 kB / 0.6947 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1757, allocations: 56.45 kB / 0.6948 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1757, allocations: 0 / 0.6948 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1757, allocations: 4 kB / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1757, allocations: 0 / 0.6948 GB, free: 2.859 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.0004574/0.1762, allocations: 343.7 kB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1762, allocations: 8.031 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1763, allocations: 4.938 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1764, allocations: 160.4 kB / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1764, allocations: 4.375 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1765, allocations: 384 / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1766, allocations: 54.23 kB / 0.6953 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1767, allocations: 8.062 kB / 0.6954 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1767, allocations: 7.938 kB / 0.6954 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1767, allocations: 0 / 0.6954 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1768, allocations: 31.95 kB / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1772, allocations: 244.9 kB / 0.6956 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1773, allocations: 42.53 kB / 0.6957 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.1774, allocations: 28.89 kB / 0.6957 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.1776, allocations: 85.09 kB / 0.6958 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.1776, allocations: 38.5 kB / 0.6958 GB, free: 1.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1777, allocations: 0 / 0.6958 GB, free: 1.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.178, allocations: 85.55 kB / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1781, allocations: 51.41 kB / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.1782, allocations: 101.8 kB / 0.696 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1782, allocations: 25.7 kB / 0.6961 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.1782, allocations: 84.14 kB / 0.6961 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1783, allocations: 7.906 kB / 0.6961 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1783, allocations: 13.84 kB / 0.6962 GB, free: 1.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1784, allocations: 314.8 kB / 0.6965 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.1785, allocations: 19.97 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.1786, allocations: 15.92 kB / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1788, allocations: 40.89 kB / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1788, allocations: 0 / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.179, allocations: 73.59 kB / 0.6966 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.179, allocations: 7.938 kB / 0.6966 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.179, allocations: 0 / 0.6966 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.179, allocations: 0 / 0.6966 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.727e-05/0.1791, allocations: 11.98 kB / 0.6966 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1791, allocations: 0 / 0.6966 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1792, allocations: 8.031 kB / 0.6966 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1792, allocations: 0 / 0.6966 GB, free: 0.7305 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 8.676e-05/0.1793, allocations: 117.7 kB / 0.6967 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1793, allocations: 4 kB / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1795, allocations: 72.72 kB / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1796, allocations: 0 / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1796, allocations: 0 / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1796, allocations: 8.031 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1798, allocations: 169.5 kB / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1798, allocations: 0 / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1798, allocations: 4 kB / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1798, allocations: 0 / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1799, allocations: 4 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1799, allocations: 0 / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1799, allocations: 0 / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1801, allocations: 175.3 kB / 0.6972 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1802, allocations: 81.09 kB / 0.6972 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1802, allocations: 4 kB / 0.6972 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.1803, allocations: 4 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1803, allocations: 3.984 kB / 0.6973 GB, free: 0 / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1804, allocations: 4.047 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.1804, allocations: 79.28 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1804, allocations: 4.031 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1807, allocations: 16 kB / 0.6974 GB, free: 15.89 MB / 0.4981 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.000183/0.1808, allocations: 107.2 kB / 0.6975 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1811, allocations: 35.91 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1811, allocations: 64 / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.1812, allocations: 27.97 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1814, allocations: 7.938 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.1817, allocations: 105.6 kB / 0.6976 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.182, allocations: 0.6729 MB / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.1821, allocations: 3.984 kB / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.1821, allocations: 11.5 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1821, allocations: 0 / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.002969/0.1851, allocations: 0.6005 MB / 0.6989 GB, free: 14.27 MB / 0.4981 GB 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)