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.00158/0.00158, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001342/0.001342, allocations: 199.1 kB / 16.91 MB, free: 6.184 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 288.5 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 178.5 MB / 0.5076 GB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 99.84 kB / 0.6066 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1643, allocations: 89.13 MB / 0.6936 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001801/0.1661, allocations: 0.6572 MB / 0.6943 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.1665, allocations: 97.55 kB / 0.6944 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-06/0.1665, allocations: 4 kB / 0.6944 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1665, allocations: 0 / 0.6944 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-06/0.1666, allocations: 4 kB / 0.6944 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1669, allocations: 27.92 kB / 0.6944 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.153e-05/0.1669, allocations: 3.984 kB / 0.6944 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.167, allocations: 3.984 kB / 0.6944 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.167, allocations: 4 kB / 0.6944 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.167, allocations: 0 / 0.6944 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.167, allocations: 0 / 0.6944 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1672, allocations: 39.91 kB / 0.6945 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.1672, allocations: 0 / 0.6945 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.1672, allocations: 8 kB / 0.6945 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.1673, allocations: 19.91 kB / 0.6945 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1673, allocations: 0 / 0.6945 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1673, allocations: 0 / 0.6945 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1673, allocations: 0 / 0.6945 GB, free: 15.55 MB / 0.545 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.0002933/0.1676, allocations: 315.6 kB / 0.6948 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1676, allocations: 12.03 kB / 0.6948 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1677, allocations: 4.938 kB / 0.6948 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1678, allocations: 160.4 kB / 0.6949 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1678, allocations: 8.359 kB / 0.695 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1678, allocations: 384 / 0.695 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.1679, allocations: 34.2 kB / 0.695 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.1679, allocations: 4.125 kB / 0.695 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.168, allocations: 3.938 kB / 0.695 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.168, allocations: 0 / 0.695 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.168, allocations: 0 / 0.695 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1681, allocations: 141.7 kB / 0.6951 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.1682, allocations: 26.61 kB / 0.6952 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.1682, allocations: 8.844 kB / 0.6952 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.1684, allocations: 81.17 kB / 0.6952 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1685, allocations: 38.48 kB / 0.6953 GB, free: 14.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.1685, allocations: 0 / 0.6953 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.1686, allocations: 41.64 kB / 0.6953 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1686, allocations: 51.41 kB / 0.6954 GB, free: 14.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.1687, allocations: 93.98 kB / 0.6955 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1687, allocations: 25.7 kB / 0.6955 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.1688, allocations: 80.14 kB / 0.6956 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1688, allocations: 0 / 0.6956 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1688, allocations: 13.72 kB / 0.6956 GB, free: 14.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1689, allocations: 310.8 kB / 0.6959 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.169, allocations: 3.984 kB / 0.6959 GB, free: 13.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.169, allocations: 0 / 0.6959 GB, free: 13.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.169, allocations: 20.86 kB / 0.6959 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.169, allocations: 3.938 kB / 0.6959 GB, free: 13.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.266e-05/0.1691, allocations: 29.7 kB / 0.6959 GB, free: 13.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1691, allocations: 8 kB / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1691, allocations: 0 / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1691, allocations: 3.938 kB / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.1692, allocations: 0 / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1692, allocations: 0 / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.1692, allocations: 0 / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1692, allocations: 12.02 kB / 0.6959 GB, free: 13.8 MB / 0.545 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 6.877e-05/0.1693, allocations: 109.1 kB / 0.6961 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1693, allocations: 0 / 0.6961 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.828e-05/0.1694, allocations: 44.7 kB / 0.6961 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1694, allocations: 0 / 0.6961 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1694, allocations: 0 / 0.6961 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1694, allocations: 0 / 0.6961 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.861e-05/0.1695, allocations: 150 kB / 0.6962 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1695, allocations: 4 kB / 0.6962 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.1695, allocations: 4.031 kB / 0.6962 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1695, allocations: 3.984 kB / 0.6962 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1696, allocations: 7.938 kB / 0.6963 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1696, allocations: 0 / 0.6963 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1696, allocations: 3.938 kB / 0.6963 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.1697, allocations: 64.97 kB / 0.6963 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.1697, allocations: 77.11 kB / 0.6964 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1697, allocations: 7.938 kB / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.1697, allocations: 4.031 kB / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-06/0.1697, allocations: 0 / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1697, allocations: 0 / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.1698, allocations: 75.28 kB / 0.6965 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1698, allocations: 0 / 0.6965 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001902/0.17, allocations: 15.98 kB / 0.6965 GB, free: 13.15 MB / 0.545 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.0001887/0.1702, allocations: 115.2 kB / 0.6966 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.374e-05/0.1702, allocations: 0 / 0.6966 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.1703, allocations: 4 kB / 0.6966 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-06/0.1703, allocations: 7.938 kB / 0.6966 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1704, allocations: 7.922 kB / 0.6966 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.1706, allocations: 106.6 kB / 0.6967 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1709, allocations: 0.669 MB / 0.6974 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.1709, allocations: 7.562 kB / 0.6974 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1709, allocations: 4 kB / 0.6974 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Templates: time 0.001997/0.1729, allocations: 0.5549 MB / 0.6979 GB, free: 11.61 MB / 0.545 GB 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)