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.001074/0.001074, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00101/0.00101, allocations: 191 kB / 17.29 MB, free: 5.516 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 291.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8968/0.8968, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 94.89 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1486, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001606/0.1502, allocations: 0.5642 MB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003184/0.1506, allocations: 115.7 kB / 0.6823 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.214e-05/0.1506, allocations: 0 / 0.6823 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-06/0.1506, allocations: 0 / 0.6823 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.1506, allocations: 0 / 0.6823 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1509, allocations: 27.86 kB / 0.6823 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.151, allocations: 11.98 kB / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.151, allocations: 3.984 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.151, allocations: 0 / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.4e-05/0.151, allocations: 0 / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.1511, allocations: 4 kB / 0.6823 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1512, allocations: 31.97 kB / 0.6823 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-06/0.1512, allocations: 4 kB / 0.6824 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.1512, allocations: 4 kB / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/0.1513, allocations: 31.89 kB / 0.6824 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1513, allocations: 0 / 0.6824 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1514, allocations: 0 / 0.6824 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1514, allocations: 3.938 kB / 0.6824 GB, free: 6.66 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.0002643/0.1516, allocations: 311.6 kB / 0.6827 GB, free: 6.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1517, allocations: 12.02 kB / 0.6827 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.1517, allocations: 8.922 kB / 0.6827 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.1518, allocations: 164.4 kB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1518, allocations: 384 / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1518, allocations: 4.375 kB / 0.6829 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.487e-05/0.1519, allocations: 26.27 kB / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1519, allocations: 192 / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.152, allocations: 3.938 kB / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.152, allocations: 4 kB / 0.6829 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.152, allocations: 3.938 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1521, allocations: 149.7 kB / 0.683 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.1522, allocations: 18.61 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1522, allocations: 8.859 kB / 0.6831 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.1524, allocations: 89.09 kB / 0.6832 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1524, allocations: 34.56 kB / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1524, allocations: 0 / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.1526, allocations: 41.58 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1526, allocations: 55.41 kB / 0.6833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1527, allocations: 89.86 kB / 0.6834 GB, free: 5.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1527, allocations: 29.7 kB / 0.6834 GB, free: 5.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.1527, allocations: 80.14 kB / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1527, allocations: 3.984 kB / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.1528, allocations: 9.719 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1529, allocations: 314.8 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.1529, allocations: 4.125 kB / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.1529, allocations: 0 / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.1529, allocations: 8.859 kB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1529, allocations: 0 / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.974e-05/0.153, allocations: 37.64 kB / 0.6838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.153, allocations: 7.984 kB / 0.6838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.153, allocations: 4 kB / 0.6838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.153, allocations: 3.938 kB / 0.6838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.1531, allocations: 8.031 kB / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1531, allocations: 0 / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.1531, allocations: 0 / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1531, allocations: 0 / 0.6839 GB, free: 4.91 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 6.467e-05/0.1532, allocations: 109.8 kB / 0.684 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.1532, allocations: 0 / 0.684 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.1533, allocations: 52.62 kB / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1533, allocations: 0 / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1533, allocations: 0 / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1533, allocations: 4.031 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.414e-05/0.1534, allocations: 145.7 kB / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1534, allocations: 0 / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.1534, allocations: 0 / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1534, allocations: 3.984 kB / 0.6842 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1534, allocations: 3.938 kB / 0.6842 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1534, allocations: 0 / 0.6842 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1535, allocations: 4 kB / 0.6842 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.1535, allocations: 57.14 kB / 0.6842 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1536, allocations: 77.11 kB / 0.6843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1536, allocations: 7.922 kB / 0.6843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.1536, allocations: 0 / 0.6843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.1536, allocations: 4 kB / 0.6843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1536, allocations: 0 / 0.6843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.1536, allocations: 79.22 kB / 0.6844 GB, free: 4.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1536, allocations: 3.938 kB / 0.6844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.1538, allocations: 8 kB / 0.6844 GB, free: 4.258 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.0001689/0.154, allocations: 119.2 kB / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.075e-05/0.1541, allocations: 4 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1541, allocations: 0 / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.1541, allocations: 4 kB / 0.6845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1542, allocations: 5.312 kB / 0.6845 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.1544, allocations: 77.11 kB / 0.6846 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1546, allocations: 0.6768 MB / 0.6853 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.135e-05/0.1546, allocations: 0 / 0.6853 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1546, allocations: 11.38 kB / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1546, allocations: 0 / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of Templates: time 0.002244/0.1569, allocations: 412.3 kB / 0.6857 GB, free: 2.902 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)