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.001671/0.001671, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00186/0.00186, allocations: 193.7 kB / 16.25 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 290.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5069 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 98.58 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1609, allocations: 89.15 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001799/0.1627, allocations: 0.6382 MB / 0.6936 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000324/0.1631, allocations: 103.6 kB / 0.6937 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-06/0.1631, allocations: 0.75 kB / 0.6937 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.1631, allocations: 0 / 0.6937 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.1631, allocations: 0.6562 kB / 0.6937 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1634, allocations: 31.91 kB / 0.6937 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.869e-05/0.1635, allocations: 0.5312 kB / 0.6937 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.1636, allocations: 15.44 kB / 0.6938 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.1636, allocations: 0 / 0.6938 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.454e-05/0.1636, allocations: 0 / 0.6938 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.1636, allocations: 0 / 0.6938 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1638, allocations: 43.89 kB / 0.6938 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1638, allocations: 0 / 0.6938 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.1638, allocations: 0 / 0.6938 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1639, allocations: 27.95 kB / 0.6938 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1639, allocations: 0 / 0.6938 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1639, allocations: 7.875 kB / 0.6938 GB, free: 3.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1639, allocations: 0.7812 kB / 0.6938 GB, free: 3.883 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.0003079/0.1643, allocations: 319.6 kB / 0.6941 GB, free: 3.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1643, allocations: 12.03 kB / 0.6942 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1643, allocations: 4.938 kB / 0.6942 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1645, allocations: 164.4 kB / 0.6943 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1645, allocations: 384 / 0.6943 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1645, allocations: 384 / 0.6943 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1646, allocations: 30.27 kB / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1646, allocations: 192 / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1646, allocations: 3.938 kB / 0.6943 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1646, allocations: 0 / 0.6943 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.1647, allocations: 4 kB / 0.6943 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1648, allocations: 149.7 kB / 0.6945 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.1649, allocations: 30.53 kB / 0.6945 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.1649, allocations: 4.859 kB / 0.6945 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.1651, allocations: 85.16 kB / 0.6946 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1652, allocations: 30.56 kB / 0.6946 GB, free: 2.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1652, allocations: 4 kB / 0.6946 GB, free: 2.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.1653, allocations: 45.58 kB / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1654, allocations: 51.41 kB / 0.6947 GB, free: 2.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.1654, allocations: 89.86 kB / 0.6948 GB, free: 2.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1654, allocations: 25.7 kB / 0.6948 GB, free: 2.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1655, allocations: 85.97 kB / 0.6949 GB, free: 2.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1655, allocations: 3.906 kB / 0.6949 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1655, allocations: 17.7 kB / 0.6949 GB, free: 2.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1657, allocations: 315 kB / 0.6952 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.1657, allocations: 0 / 0.6952 GB, free: 2.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.1657, allocations: 0 / 0.6952 GB, free: 2.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.1657, allocations: 12.86 kB / 0.6953 GB, free: 2.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1657, allocations: 0 / 0.6953 GB, free: 2.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.454e-05/0.1658, allocations: 33.64 kB / 0.6953 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1658, allocations: 8 kB / 0.6953 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1658, allocations: 0 / 0.6953 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1659, allocations: 11.97 kB / 0.6953 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/0.1659, allocations: 3.984 kB / 0.6953 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1659, allocations: 0 / 0.6953 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.1659, allocations: 0 / 0.6953 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1659, allocations: 4 kB / 0.6953 GB, free: 2.121 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 7.27e-05/0.166, allocations: 105.8 kB / 0.6954 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.166, allocations: 0 / 0.6954 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.1661, allocations: 48.73 kB / 0.6955 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1661, allocations: 4.031 kB / 0.6955 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1661, allocations: 0 / 0.6955 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1661, allocations: 4 kB / 0.6955 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1662, allocations: 142 kB / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1662, allocations: 0 / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.1663, allocations: 3.938 kB / 0.6956 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1663, allocations: 0 / 0.6956 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1663, allocations: 7.938 kB / 0.6956 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1663, allocations: 0 / 0.6956 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1663, allocations: 7.984 kB / 0.6956 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.1664, allocations: 57.14 kB / 0.6957 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1664, allocations: 77.11 kB / 0.6958 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1665, allocations: 7.938 kB / 0.6958 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.1665, allocations: 0 / 0.6958 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.1665, allocations: 3.984 kB / 0.6958 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.1665, allocations: 0 / 0.6958 GB, free: 1.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.1665, allocations: 75.28 kB / 0.6958 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1665, allocations: 0 / 0.6958 GB, free: 1.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.1667, allocations: 16.03 kB / 0.6959 GB, free: 1.473 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.0001903/0.1669, allocations: 111.2 kB / 0.696 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.784e-05/0.167, allocations: 11.92 kB / 0.696 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.167, allocations: 4 kB / 0.696 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.167, allocations: 0 / 0.696 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1672, allocations: 5 kB / 0.696 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.1674, allocations: 77.08 kB / 0.6961 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1677, allocations: 0.669 MB / 0.6967 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.1677, allocations: 3.938 kB / 0.6967 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.1677, allocations: 11.42 kB / 0.6967 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1677, allocations: 0 / 0.6967 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Templates: time 0.002846/0.1706, allocations: 406.5 kB / 0.6971 GB, free: 132 kB / 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)