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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8896/0.8896, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 184.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 115.2 kB / 0.517 GB, free: 3.684 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001862, allocations: 284.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 79.88 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3535, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002132/0.3556, allocations: 1.497 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003511/0.356, allocations: 163.5 kB / 0.7695 GB, free: 26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.356, allocations: 4 kB / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3561, allocations: 0 / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.839e-05/0.3561, allocations: 7.922 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3564, allocations: 27.97 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.3564, allocations: 23.86 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.3565, allocations: 8 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.3565, allocations: 4 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.872e-05/0.3566, allocations: 15.92 kB / 0.7696 GB, free: 25.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3566, allocations: 7.984 kB / 0.7696 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3567, allocations: 39.91 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.3567, allocations: 0 / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.3568, allocations: 11.92 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3569, allocations: 47.88 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3569, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.3569, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.3569, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 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.0003231/0.3572, allocations: 346.2 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.3573, allocations: 11.97 kB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3573, allocations: 4.938 kB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.119e-05/0.3574, allocations: 164.4 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.3574, allocations: 384 / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3574, allocations: 4.375 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3575, allocations: 50.23 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3576, allocations: 4.188 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.3576, allocations: 7.922 kB / 0.7703 GB, free: 25.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3576, allocations: 4 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3577, allocations: 31.91 kB / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.358, allocations: 248.9 kB / 0.7706 GB, free: 24.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3581, allocations: 42.5 kB / 0.7706 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3582, allocations: 24.91 kB / 0.7706 GB, free: 24.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3583, allocations: 85.09 kB / 0.7707 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3584, allocations: 30.56 kB / 0.7707 GB, free: 24.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3584, allocations: 0 / 0.7707 GB, free: 24.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000316/0.3587, allocations: 89.48 kB / 0.7708 GB, free: 24.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.3587, allocations: 59.53 kB / 0.7709 GB, free: 24.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/0.3588, allocations: 101.8 kB / 0.771 GB, free: 24.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3588, allocations: 29.7 kB / 0.771 GB, free: 24.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.3588, allocations: 80.14 kB / 0.7711 GB, free: 24.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.3588, allocations: 3.906 kB / 0.7711 GB, free: 24.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3588, allocations: 21.66 kB / 0.7711 GB, free: 24.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.3589, allocations: 314.8 kB / 0.7714 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.359, allocations: 15.98 kB / 0.7714 GB, free: 23.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.359, allocations: 19.98 kB / 0.7715 GB, free: 23.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3592, allocations: 40.75 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3592, allocations: 0 / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.3594, allocations: 69.67 kB / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3594, allocations: 4 kB / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3594, allocations: 0 / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3594, allocations: 0 / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.3595, allocations: 11.98 kB / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3595, allocations: 0 / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.3595, allocations: 7.984 kB / 0.7716 GB, free: 23.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3595, allocations: 0 / 0.7716 GB, free: 23.67 MB / 458.7 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 4.004e-05/0.3596, allocations: 123.6 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3596, allocations: 4.031 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.3598, allocations: 72.72 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3598, allocations: 4 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3598, allocations: 0 / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3598, allocations: 3.984 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.3599, allocations: 157.6 kB / 0.7719 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.36, allocations: 0 / 0.7719 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.36, allocations: 8.016 kB / 0.7719 GB, free: 23.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.36, allocations: 8 kB / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.36, allocations: 0 / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.36, allocations: 0 / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.36, allocations: 0 / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.3604, allocations: 0.7239 MB / 0.7726 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.3604, allocations: 81.11 kB / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.3604, allocations: 0 / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.3605, allocations: 11.98 kB / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.3606, allocations: 0 / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3606, allocations: 3.938 kB / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.3606, allocations: 83.28 kB / 0.7728 GB, free: 22.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3606, allocations: 0 / 0.7728 GB, free: 22.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.3609, allocations: 23.98 kB / 0.7728 GB, free: 22.23 MB / 458.7 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.0001356/0.3611, allocations: 111.5 kB / 0.773 GB, free: 22.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3612, allocations: 35.95 kB / 0.773 GB, free: 22.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3612, allocations: 0 / 0.773 GB, free: 22.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.3613, allocations: 24.05 kB / 0.773 GB, free: 22.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3616, allocations: 9.484 kB / 0.773 GB, free: 22.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.3618, allocations: 210 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.3619, allocations: 0.677 MB / 0.7739 GB, free: 21.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.362, allocations: 3.906 kB / 0.7739 GB, free: 21.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.362, allocations: 11.38 kB / 0.7739 GB, free: 21.08 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.362, allocations: 4.062 kB / 0.7739 GB, free: 21.08 MB / 458.7 MB Notification: Performance of Templates: time 0.002105/0.3641, allocations: 0.5818 MB / 0.7745 GB, free: 20.5 MB / 458.7 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)