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.0008813/0.000881, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009487/0.0009487, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 267.1 kB / 291.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 22.95 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1579, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001303/0.1592, allocations: 1.148 MB / 0.6856 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.1595, allocations: 145.8 kB / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.1596, allocations: 3.938 kB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1596, allocations: 2.125 kB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.1596, allocations: 3.938 kB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1599, allocations: 35.91 kB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.1599, allocations: 8 kB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.16, allocations: 8.484 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.16, allocations: 12.72 kB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.37e-05/0.1601, allocations: 7.969 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1601, allocations: 4.75 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1602, allocations: 43.91 kB / 0.6859 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1602, allocations: 5.125 kB / 0.6859 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.1602, allocations: 25.7 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.1603, allocations: 31.94 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1603, allocations: 4.562 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1603, allocations: 0 / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.1603, allocations: 1.25 kB / 0.6859 GB, free: 13.97 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.0003602/0.1607, allocations: 345 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1607, allocations: 8.031 kB / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1608, allocations: 9.281 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.1609, allocations: 167 kB / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.1609, allocations: 0 / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1609, allocations: 7.062 kB / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1611, allocations: 53.62 kB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1611, allocations: 3.984 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1611, allocations: 0 / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1611, allocations: 3.938 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1613, allocations: 43.62 kB / 0.6865 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.1615, allocations: 252.9 kB / 0.6868 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1616, allocations: 40.03 kB / 0.6868 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.1617, allocations: 30.62 kB / 0.6868 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1619, allocations: 85.75 kB / 0.6869 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1619, allocations: 36.91 kB / 0.687 GB, free: 12.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1619, allocations: 3.938 kB / 0.687 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003083/0.1622, allocations: 99.77 kB / 0.6871 GB, free: 12.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1623, allocations: 56.05 kB / 0.6871 GB, free: 12.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.1623, allocations: 102.7 kB / 0.6872 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1623, allocations: 25.7 kB / 0.6872 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1624, allocations: 80.7 kB / 0.6873 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1624, allocations: 9.156 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1624, allocations: 0 / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.1625, allocations: 314.8 kB / 0.6876 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.1626, allocations: 24.91 kB / 0.6876 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.1627, allocations: 23.98 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.1627, allocations: 23.92 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1627, allocations: 0 / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.1629, allocations: 77.72 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1629, allocations: 4 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.163, allocations: 0 / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.163, allocations: 0 / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.163, allocations: 20.02 kB / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1631, allocations: 0 / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1631, allocations: 15.89 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1631, allocations: 0 / 0.6878 GB, free: 11.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.1632, allocations: 112.5 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1632, allocations: 8.078 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1634, allocations: 88.72 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1634, allocations: 3.984 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1634, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1634, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1636, allocations: 157.6 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1636, allocations: 0 / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.1637, allocations: 16.02 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1637, allocations: 4 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1637, allocations: 0 / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1637, allocations: 7.922 kB / 0.6882 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1637, allocations: 0 / 0.6882 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1639, allocations: 179.4 kB / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.1639, allocations: 77.11 kB / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.164, allocations: 11.92 kB / 0.6884 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.164, allocations: 4 kB / 0.6884 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.1641, allocations: 0 / 0.6884 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1641, allocations: 7.984 kB / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.1641, allocations: 79.31 kB / 0.6885 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 4 kB / 0.6885 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1643, allocations: 12 kB / 0.6885 GB, free: 10.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.1645, allocations: 111.2 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1647, allocations: 47.97 kB / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1647, allocations: 0 / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.1648, allocations: 23.92 kB / 0.6887 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.165, allocations: 14.12 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.1652, allocations: 108.8 kB / 0.6888 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1654, allocations: 0.677 MB / 0.6895 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.1655, allocations: 0 / 0.6895 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.1655, allocations: 11.44 kB / 0.6895 GB, free: 9.93 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1655, allocations: 0 / 0.6895 GB, free: 9.93 MB / 494.1 MB Notification: Performance of Templates: time 0.002384/0.1679, allocations: 0.5791 MB / 0.6901 GB, free: 9.355 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)