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: 104.4 kB / 16.35 MB, free: 5.828 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.00152/0.00152, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 287 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8815/0.8815, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 94.47 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1479, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002276/0.1502, allocations: 1.416 MB / 0.683 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.1506, allocations: 160.3 kB / 0.6831 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.1506, allocations: 4 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.1506, allocations: 3.984 kB / 0.6831 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.158e-05/0.1507, allocations: 3.938 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.151, allocations: 35.89 kB / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.151, allocations: 15.94 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.353e-05/0.1511, allocations: 11.98 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1511, allocations: 7.938 kB / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1512, allocations: 11.98 kB / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1512, allocations: 4 kB / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1513, allocations: 43.89 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.1513, allocations: 7.938 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.1513, allocations: 8 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1515, allocations: 47.86 kB / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1515, allocations: 0 / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1515, allocations: 0 / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1515, allocations: 0 / 0.6833 GB, free: 5.641 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.0003693/0.1519, allocations: 339.5 kB / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.1519, allocations: 16.03 kB / 0.6837 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.152, allocations: 8.828 kB / 0.6837 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1521, allocations: 168.4 kB / 0.6838 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1521, allocations: 4.375 kB / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1521, allocations: 4.312 kB / 0.6839 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1523, allocations: 50.19 kB / 0.6839 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1523, allocations: 8.109 kB / 0.6839 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1523, allocations: 3.938 kB / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1523, allocations: 0 / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1524, allocations: 35.97 kB / 0.6839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1527, allocations: 245 kB / 0.6842 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1528, allocations: 38.5 kB / 0.6842 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.1529, allocations: 16.91 kB / 0.6842 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.1531, allocations: 97.03 kB / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1531, allocations: 34.56 kB / 0.6844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1531, allocations: 0 / 0.6844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003103/0.1534, allocations: 77.64 kB / 0.6844 GB, free: 4.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.1535, allocations: 55.53 kB / 0.6845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.1535, allocations: 101.8 kB / 0.6846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1535, allocations: 25.7 kB / 0.6846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.1536, allocations: 84.14 kB / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.1536, allocations: 3.906 kB / 0.6847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1536, allocations: 13.72 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1537, allocations: 318.8 kB / 0.685 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.1538, allocations: 19.92 kB / 0.685 GB, free: 3.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.1539, allocations: 23.98 kB / 0.6851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.154, allocations: 36.83 kB / 0.6851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.154, allocations: 0 / 0.6851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.1542, allocations: 69.5 kB / 0.6852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1542, allocations: 8.094 kB / 0.6852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1542, allocations: 4 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1543, allocations: 0 / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.1543, allocations: 7.984 kB / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1543, allocations: 0 / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1544, allocations: 11.92 kB / 0.6852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1544, allocations: 4 kB / 0.6852 GB, free: 3.5 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 5.693e-05/0.1545, allocations: 117.7 kB / 0.6853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1545, allocations: 0 / 0.6853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.1547, allocations: 72.78 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1547, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1547, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1547, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1549, allocations: 165.5 kB / 0.6855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1549, allocations: 0 / 0.6855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.1549, allocations: 8 kB / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1549, allocations: 3.984 kB / 0.6855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.155, allocations: 7.969 kB / 0.6855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.155, allocations: 0 / 0.6855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.155, allocations: 192 / 0.6855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1552, allocations: 167.4 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.1552, allocations: 85 kB / 0.6858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1552, allocations: 4 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.1553, allocations: 12.02 kB / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.1554, allocations: 0 / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1554, allocations: 0 / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1554, allocations: 83.28 kB / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1554, allocations: 0 / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1556, allocations: 8 kB / 0.6859 GB, free: 2.68 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 (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.0001553/0.1558, allocations: 123.2 kB / 0.686 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.156, allocations: 39.89 kB / 0.686 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.156, allocations: 0 / 0.686 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.1561, allocations: 19.98 kB / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1563, allocations: 3.938 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.1565, allocations: 105.7 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1567, allocations: 0.6768 MB / 0.6868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.1568, allocations: 3.984 kB / 0.6868 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1568, allocations: 7.438 kB / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1568, allocations: 0 / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Templates: time 0.002435/0.1592, allocations: 0.6466 MB / 0.6875 GB, free: 1 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)