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.001002/0.001002, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001035/0.001035, allocations: 186.9 kB / 16.25 MB, free: 6.617 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 278.9 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 94.98 kB / 0.5947 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1664, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00187/0.1683, allocations: 0.6319 MB / 0.6803 GB, free: 428 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.1687, allocations: 104.5 kB / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.1687, allocations: 0 / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1687, allocations: 0.7188 kB / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.1688, allocations: 0 / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1691, allocations: 36.53 kB / 0.6804 GB, free: 288 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.1692, allocations: 5.766 kB / 0.6804 GB, free: 284 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.1692, allocations: 4 kB / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.1693, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.1693, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1693, allocations: 4 kB / 0.6804 GB, free: 276 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1695, allocations: 39.91 kB / 0.6804 GB, free: 236 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1695, allocations: 0 / 0.6804 GB, free: 236 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.1695, allocations: 0 / 0.6804 GB, free: 236 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1696, allocations: 35.89 kB / 0.6805 GB, free: 200 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1696, allocations: 4 kB / 0.6805 GB, free: 196 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1696, allocations: 0 / 0.6805 GB, free: 196 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1696, allocations: 0 / 0.6805 GB, free: 196 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.000282/0.1699, allocations: 315.6 kB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.17, allocations: 8.031 kB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.17, allocations: 0.9375 kB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.1701, allocations: 164.4 kB / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1701, allocations: 384 / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1701, allocations: 4.375 kB / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.1702, allocations: 38.19 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1702, allocations: 192 / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1702, allocations: 3.938 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1703, allocations: 0 / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.1703, allocations: 4 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1704, allocations: 145.7 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.1704, allocations: 18.58 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1705, allocations: 8.953 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.1707, allocations: 89.09 kB / 0.6812 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1707, allocations: 34.5 kB / 0.6813 GB, free: 15.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1707, allocations: 0 / 0.6813 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.1708, allocations: 37.62 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1709, allocations: 55.53 kB / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.132e-05/0.1709, allocations: 89.86 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1709, allocations: 29.64 kB / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.1709, allocations: 84.14 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.171, allocations: 0 / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.171, allocations: 13.72 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.1711, allocations: 310.8 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.1711, allocations: 4 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/0.1711, allocations: 7.938 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.1711, allocations: 8.844 kB / 0.6819 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1711, allocations: 4 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.323e-05/0.1712, allocations: 33.64 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1712, allocations: 6.188 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1712, allocations: 0 / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1712, allocations: 3.938 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.093e-05/0.1713, allocations: 4 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1713, allocations: 0 / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.1713, allocations: 8.375 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1713, allocations: 0 / 0.6819 GB, free: 14.45 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.107e-05/0.1714, allocations: 111.1 kB / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1714, allocations: 7.984 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.1715, allocations: 48.62 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1715, allocations: 0 / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1715, allocations: 0 / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1715, allocations: 0 / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.041e-05/0.1716, allocations: 153.7 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1716, allocations: 0 / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.1716, allocations: 4 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1716, allocations: 0 / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1716, allocations: 3.938 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1716, allocations: 0 / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1716, allocations: 0 / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.512e-05/0.1717, allocations: 61.06 kB / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1717, allocations: 85.05 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.1717, allocations: 3.938 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.1717, allocations: 8 kB / 0.6824 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1718, allocations: 0 / 0.6824 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1718, allocations: 4 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.1718, allocations: 75.28 kB / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1718, allocations: 0 / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001751/0.172, allocations: 8 kB / 0.6825 GB, free: 13.78 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.0002002/0.1722, allocations: 119.2 kB / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.148e-05/0.1723, allocations: 4 kB / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1723, allocations: 0 / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.1723, allocations: 11.88 kB / 0.6826 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1724, allocations: 3.938 kB / 0.6826 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.1726, allocations: 83.94 kB / 0.6827 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1728, allocations: 0.6769 MB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.708e-06/0.1728, allocations: 0 / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.1728, allocations: 7.438 kB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1728, allocations: 0 / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Templates: time 0.00221/0.175, allocations: 404.1 kB / 0.6838 GB, free: 12.43 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)