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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001325, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 278.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 103.1 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1642, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003074/0.1673, allocations: 1.508 MB / 0.6943 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.1678, allocations: 152.4 kB / 0.6944 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.1679, allocations: 0 / 0.6944 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.1679, allocations: 4 kB / 0.6944 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.168, allocations: 5.125 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1683, allocations: 35.95 kB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.53e-05/0.1683, allocations: 19.92 kB / 0.6945 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.1684, allocations: 8.656 kB / 0.6945 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.1685, allocations: 9.375 kB / 0.6945 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.1685, allocations: 7.984 kB / 0.6945 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1686, allocations: 4 kB / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1687, allocations: 43.89 kB / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1687, allocations: 11.92 kB / 0.6945 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.1688, allocations: 4 kB / 0.6946 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1689, allocations: 51.81 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1689, allocations: 0 / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1689, allocations: 0 / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.169, allocations: 0 / 0.6946 GB, free: 3.004 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.0004907/0.1694, allocations: 343.7 kB / 0.6949 GB, free: 2.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1695, allocations: 12.02 kB / 0.6949 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1696, allocations: 8.938 kB / 0.6949 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1697, allocations: 160.4 kB / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1697, allocations: 384 / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1698, allocations: 4.375 kB / 0.6951 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1699, allocations: 46.23 kB / 0.6951 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.17, allocations: 192 / 0.6951 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.17, allocations: 11.88 kB / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.17, allocations: 0 / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1702, allocations: 39.89 kB / 0.6952 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1706, allocations: 241 kB / 0.6954 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1707, allocations: 38.5 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.1708, allocations: 28.89 kB / 0.6955 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.1711, allocations: 85.11 kB / 0.6956 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1711, allocations: 38.48 kB / 0.6956 GB, free: 1.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1711, allocations: 0 / 0.6956 GB, free: 1.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003878/0.1715, allocations: 85.5 kB / 0.6957 GB, free: 1.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1716, allocations: 55.39 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1717, allocations: 102 kB / 0.6958 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1717, allocations: 25.7 kB / 0.6959 GB, free: 1.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1718, allocations: 84.14 kB / 0.6959 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1718, allocations: 3.906 kB / 0.696 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1718, allocations: 17.7 kB / 0.696 GB, free: 1.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.172, allocations: 314.8 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.1721, allocations: 11.98 kB / 0.6963 GB, free: 1.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.1722, allocations: 19.98 kB / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1723, allocations: 44.75 kB / 0.6963 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1723, allocations: 0 / 0.6963 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.1726, allocations: 65.61 kB / 0.6964 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1726, allocations: 9.234 kB / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1726, allocations: 96 / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1726, allocations: 4 kB / 0.6964 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1727, allocations: 8.188 kB / 0.6964 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1727, allocations: 0 / 0.6964 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1728, allocations: 7.984 kB / 0.6964 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1728, allocations: 0 / 0.6964 GB, free: 0.8828 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.785e-05/0.1729, allocations: 117.8 kB / 0.6965 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1729, allocations: 3.984 kB / 0.6965 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1732, allocations: 84.64 kB / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1732, allocations: 0 / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1732, allocations: 4 kB / 0.6966 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1732, allocations: 0 / 0.6966 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1734, allocations: 161.6 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1734, allocations: 3.938 kB / 0.6968 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.1734, allocations: 7.984 kB / 0.6968 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1734, allocations: 0 / 0.6968 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1735, allocations: 4 kB / 0.6968 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1735, allocations: 4.031 kB / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1735, allocations: 0 / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1737, allocations: 167.3 kB / 0.697 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.1738, allocations: 77.11 kB / 0.697 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1738, allocations: 0 / 0.697 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.1739, allocations: 16.02 kB / 0.6971 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1739, allocations: 0 / 0.6971 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.174, allocations: 4 kB / 0.6971 GB, free: 148 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.174, allocations: 79.27 kB / 0.6971 GB, free: 68 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.174, allocations: 3.938 kB / 0.6971 GB, free: 64 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1742, allocations: 16 kB / 0.6972 GB, free: 48 kB / 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.0002271/0.1745, allocations: 107.3 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1747, allocations: 39.91 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1747, allocations: 0 / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.1748, allocations: 19.92 kB / 0.6973 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1751, allocations: 9.484 kB / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1754, allocations: 115.4 kB / 0.6974 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1757, allocations: 0.677 MB / 0.6981 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.1757, allocations: 0 / 0.6981 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.1757, allocations: 11.44 kB / 0.6981 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1757, allocations: 0 / 0.6981 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.002987/0.1787, allocations: 0.5784 MB / 0.6987 GB, free: 14.43 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)