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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001524/0.001524, allocations: 189.8 kB / 16.14 MB, free: 6.707 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 288.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 100.3 kB / 0.5945 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 86.99 MB / 0.6795 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001597/0.156, allocations: 0.631 MB / 0.6801 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.1564, allocations: 103.7 kB / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-06/0.1564, allocations: 0.875 kB / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1564, allocations: 0 / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.1564, allocations: 3.938 kB / 0.6802 GB, free: 428 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1567, allocations: 28.69 kB / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.752e-05/0.1567, allocations: 3.984 kB / 0.6802 GB, free: 396 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.1568, allocations: 4.625 kB / 0.6802 GB, free: 392 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.109e-05/0.1568, allocations: 1.969 kB / 0.6802 GB, free: 392 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.39e-05/0.1568, allocations: 0 / 0.6802 GB, free: 392 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.1568, allocations: 0 / 0.6802 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1569, allocations: 39.91 kB / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.157, allocations: 0 / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.157, allocations: 7.938 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.87e-05/0.1571, allocations: 35.89 kB / 0.6803 GB, free: 308 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1571, allocations: 0 / 0.6803 GB, free: 308 kB / 478.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1571, allocations: 0 / 0.6803 GB, free: 308 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1571, allocations: 0 / 0.6803 GB, free: 308 kB / 478.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.0002596/0.1574, allocations: 317.2 kB / 0.6806 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1574, allocations: 8.031 kB / 0.6806 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.1575, allocations: 4.938 kB / 0.6806 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.1575, allocations: 160.4 kB / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1576, allocations: 384 / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1576, allocations: 8.359 kB / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.1576, allocations: 26.27 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.1577, allocations: 4.125 kB / 0.6808 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1577, allocations: 7.938 kB / 0.6808 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1577, allocations: 0 / 0.6808 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.1577, allocations: 3.938 kB / 0.6808 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1578, allocations: 145.7 kB / 0.6809 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.1579, allocations: 18.61 kB / 0.681 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1579, allocations: 8.859 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.1581, allocations: 89.16 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1581, allocations: 38.55 kB / 0.6811 GB, free: 15.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.1581, allocations: 3.984 kB / 0.6811 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.1583, allocations: 37.58 kB / 0.6811 GB, free: 15.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1583, allocations: 55.41 kB / 0.6812 GB, free: 15.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.162e-05/0.1583, allocations: 89.98 kB / 0.6813 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1583, allocations: 33.64 kB / 0.6813 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.1584, allocations: 80.14 kB / 0.6814 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1584, allocations: 0 / 0.6814 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1584, allocations: 13.72 kB / 0.6814 GB, free: 14.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.1585, allocations: 314.8 kB / 0.6817 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.1585, allocations: 0 / 0.6817 GB, free: 14.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.1586, allocations: 3.984 kB / 0.6817 GB, free: 14.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.1586, allocations: 12.92 kB / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1586, allocations: 0 / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.688e-05/0.1586, allocations: 33.64 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1587, allocations: 4 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1587, allocations: 4 kB / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1587, allocations: 3.938 kB / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.921e-05/0.1587, allocations: 0 / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1587, allocations: 0 / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.1587, allocations: 4.281 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1588, allocations: 0 / 0.6818 GB, free: 14.55 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 5.866e-05/0.1588, allocations: 119.2 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.1588, allocations: 0 / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.1589, allocations: 44.64 kB / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1589, allocations: 0 / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1589, allocations: 0 / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1589, allocations: 0 / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.772e-05/0.159, allocations: 153.7 kB / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.159, allocations: 0 / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.159, allocations: 0 / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.159, allocations: 4.031 kB / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1591, allocations: 3.938 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1591, allocations: 4 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1591, allocations: 3.938 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.684e-05/0.1591, allocations: 53.12 kB / 0.6821 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1592, allocations: 81.02 kB / 0.6822 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.1592, allocations: 3.938 kB / 0.6822 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.1592, allocations: 12.03 kB / 0.6822 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-06/0.1592, allocations: 0 / 0.6822 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1592, allocations: 0 / 0.6822 GB, free: 13.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.1593, allocations: 79.22 kB / 0.6823 GB, free: 13.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1593, allocations: 3.938 kB / 0.6823 GB, free: 13.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.1595, allocations: 12 kB / 0.6823 GB, free: 13.89 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.00016/0.1596, allocations: 115.2 kB / 0.6824 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.1597, allocations: 4 kB / 0.6824 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1597, allocations: 0 / 0.6824 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.1597, allocations: 4 kB / 0.6824 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1598, allocations: 3.984 kB / 0.6824 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.16, allocations: 78.77 kB / 0.6825 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1602, allocations: 0.6692 MB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.223e-05/0.1602, allocations: 3.984 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.1602, allocations: 11.56 kB / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1602, allocations: 0 / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Templates: time 0.002063/0.1623, allocations: 410.4 kB / 0.6836 GB, free: 12.55 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)