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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7965/0.7965, allocations: 143.4 MB / 159.2 MB, free: 4.891 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.001174/0.001175, allocations: 192.5 kB / 191.9 MB, free: 5.719 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.441/1.441, allocations: 222.9 MB / 447.3 MB, free: 5.855 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.001185/0.001185, allocations: 103.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001866, allocations: 278.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 83.88 kB / 0.6885 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3541, allocations: 81.28 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00184/0.356, allocations: 0.6497 MB / 0.7686 GB, free: 27 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.3564, allocations: 105 kB / 0.7687 GB, free: 26.9 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-06/0.3564, allocations: 0 / 0.7687 GB, free: 26.9 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.3565, allocations: 0 / 0.7687 GB, free: 26.9 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.3565, allocations: 0 / 0.7687 GB, free: 26.9 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3568, allocations: 23.97 kB / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.3568, allocations: 4 kB / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3569, allocations: 0 / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.3569, allocations: 0 / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.3569, allocations: 7.984 kB / 0.7687 GB, free: 26.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.3569, allocations: 7.938 kB / 0.7687 GB, free: 26.86 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3571, allocations: 35.97 kB / 0.7687 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.3571, allocations: 3.984 kB / 0.7687 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.3571, allocations: 7.875 kB / 0.7687 GB, free: 26.81 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.3572, allocations: 27.97 kB / 0.7688 GB, free: 26.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3572, allocations: 0 / 0.7688 GB, free: 26.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3572, allocations: 0 / 0.7688 GB, free: 26.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.3572, allocations: 0 / 0.7688 GB, free: 26.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002066/0.3574, allocations: 315.6 kB / 0.7691 GB, free: 26.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3575, allocations: 16.03 kB / 0.7691 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3575, allocations: 0.9375 kB / 0.7691 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.772e-05/0.3576, allocations: 160.4 kB / 0.7692 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3576, allocations: 4.375 kB / 0.7692 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.3576, allocations: 384 / 0.7692 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.862e-05/0.3577, allocations: 30.27 kB / 0.7693 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3577, allocations: 4.125 kB / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3577, allocations: 3.938 kB / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3577, allocations: 0 / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.3577, allocations: 3.938 kB / 0.7693 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.601e-05/0.3578, allocations: 153.7 kB / 0.7694 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.056e-05/0.3579, allocations: 18.58 kB / 0.7695 GB, free: 25.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.3579, allocations: 8.859 kB / 0.7695 GB, free: 25.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.358, allocations: 89.17 kB / 0.7695 GB, free: 25.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.098e-05/0.3581, allocations: 30.56 kB / 0.7696 GB, free: 25.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3581, allocations: 4 kB / 0.7696 GB, free: 25.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.3582, allocations: 41.58 kB / 0.7696 GB, free: 25.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.3582, allocations: 51.41 kB / 0.7697 GB, free: 25.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.699e-05/0.3582, allocations: 97.84 kB / 0.7698 GB, free: 25.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.3583, allocations: 25.7 kB / 0.7698 GB, free: 25.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-06/0.3583, allocations: 80.14 kB / 0.7699 GB, free: 25.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3583, allocations: 3.984 kB / 0.7699 GB, free: 25.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.3583, allocations: 17.66 kB / 0.7699 GB, free: 25.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.3584, allocations: 311 kB / 0.7702 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.3584, allocations: 4 kB / 0.7702 GB, free: 25.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.3584, allocations: 0 / 0.7702 GB, free: 25.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.3584, allocations: 16.8 kB / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3584, allocations: 0 / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.708e-05/0.3585, allocations: 33.69 kB / 0.7702 GB, free: 25.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.3585, allocations: 9.406 kB / 0.7702 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3585, allocations: 0 / 0.7702 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3585, allocations: 3.938 kB / 0.7702 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.168e-05/0.3585, allocations: 4.094 kB / 0.7702 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3586, allocations: 4 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-06/0.3586, allocations: 2.672 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3586, allocations: 0 / 0.7703 GB, free: 25.03 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 (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 3.953e-05/0.3586, allocations: 108 kB / 0.7704 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3586, allocations: 0 / 0.7704 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.3587, allocations: 52.59 kB / 0.7704 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3587, allocations: 0 / 0.7704 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3587, allocations: 4 kB / 0.7704 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.3587, allocations: 4.031 kB / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.319e-05/0.3588, allocations: 141.7 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3588, allocations: 0 / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.3588, allocations: 3.984 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3588, allocations: 4 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.3588, allocations: 3.938 kB / 0.7706 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3588, allocations: 0 / 0.7706 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3588, allocations: 0 / 0.7706 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.359, allocations: 0.6006 MB / 0.7711 GB, free: 23.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.359, allocations: 81.11 kB / 0.7712 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.359, allocations: 3.938 kB / 0.7712 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.359, allocations: 0 / 0.7712 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.3591, allocations: 4 kB / 0.7712 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3591, allocations: 0 / 0.7712 GB, free: 23.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.939e-06/0.3591, allocations: 75.28 kB / 0.7713 GB, free: 23.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 4.031 kB / 0.7713 GB, free: 23.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000275/0.3594, allocations: 11.98 kB / 0.7713 GB, free: 23.8 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 (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.0001627/0.3595, allocations: 115.2 kB / 0.7714 GB, free: 23.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.44e-05/0.3596, allocations: 7.938 kB / 0.7714 GB, free: 23.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3596, allocations: 0 / 0.7714 GB, free: 23.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.59e-06/0.3596, allocations: 3.984 kB / 0.7714 GB, free: 23.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.3597, allocations: 9.75 kB / 0.7715 GB, free: 23.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.3599, allocations: 173.7 kB / 0.7716 GB, free: 23.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.34e-05/0.36, allocations: 0.6731 MB / 0.7723 GB, free: 22.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.077e-05/0.36, allocations: 4 kB / 0.7723 GB, free: 22.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-06/0.36, allocations: 7.438 kB / 0.7723 GB, free: 22.73 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.36, allocations: 0 / 0.7723 GB, free: 22.73 MB / 458.7 MB Notification: Performance of Templates: time 0.001836/0.3619, allocations: 404.9 kB / 0.7727 GB, free: 22.34 MB / 458.7 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)