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.001562/0.001562, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 286.5 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9588/0.9588, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 94.91 kB / 0.5952 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.148, allocations: 86.99 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002398/0.1504, allocations: 1.429 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.1508, allocations: 154.3 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1508, allocations: 4 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.1509, allocations: 7.875 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.1509, allocations: 0 / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1512, allocations: 42.53 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.1513, allocations: 27.97 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.1514, allocations: 0 / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.1514, allocations: 11.94 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.1514, allocations: 7.984 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1515, allocations: 0.875 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1516, allocations: 39.91 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.1516, allocations: 7.938 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.1516, allocations: 16.5 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1518, allocations: 45.02 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1518, allocations: 0 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1518, allocations: 0 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1518, allocations: 0.9375 kB / 0.6819 GB, free: 14.91 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.0004027/0.1522, allocations: 339.8 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1522, allocations: 12.03 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1523, allocations: 4.844 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1524, allocations: 172.3 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1524, allocations: 384 / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1524, allocations: 384 / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1526, allocations: 50.23 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1526, allocations: 192 / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1526, allocations: 7.875 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1527, allocations: 4 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1528, allocations: 31.97 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.1531, allocations: 249 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1532, allocations: 42.44 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.1533, allocations: 24.91 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.1535, allocations: 85.09 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1535, allocations: 34.56 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.1536, allocations: 3.984 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.1539, allocations: 81.7 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1539, allocations: 59.41 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.154, allocations: 101.8 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.154, allocations: 25.7 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.1541, allocations: 84.05 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.1541, allocations: 0 / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1541, allocations: 17.72 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1542, allocations: 314.8 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.1543, allocations: 19.98 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1544, allocations: 15.98 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1546, allocations: 44.75 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1546, allocations: 0 / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.1548, allocations: 73.52 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1548, allocations: 8 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1548, allocations: 0 / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1548, allocations: 0 / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1549, allocations: 7.984 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1549, allocations: 0 / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.155, allocations: 11.92 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.155, allocations: 4 kB / 0.6838 GB, free: 12.77 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 6.339e-05/0.1551, allocations: 115.1 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1551, allocations: 4 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.1553, allocations: 68.78 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1553, allocations: 0 / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1553, allocations: 3.938 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1554, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1555, allocations: 165.6 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1555, allocations: 3.938 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.1556, allocations: 16.02 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1556, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1556, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1556, allocations: 4 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1556, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1559, allocations: 159.5 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1559, allocations: 85.05 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1559, allocations: 4 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.156, allocations: 11.98 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.156, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.156, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.1561, allocations: 79.28 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1561, allocations: 0 / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1563, allocations: 19.92 kB / 0.6845 GB, free: 11.95 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.0001941/0.1565, allocations: 111.2 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1567, allocations: 39.95 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1568, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.1568, allocations: 15.98 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1571, allocations: 7.938 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.1574, allocations: 109.7 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1576, allocations: 0.6806 MB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.1576, allocations: 0 / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.1577, allocations: 11.38 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1577, allocations: 0 / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of Templates: time 0.002716/0.1604, allocations: 0.6462 MB / 0.6861 GB, free: 10.27 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)