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.9265/0.9265, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001554/0.001554, allocations: 179.7 kB / 191.5 MB, free: 5.762 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.499/1.499, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001329/0.001329, allocations: 88.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 279.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 17.11 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.3567, allocations: 108.1 MB / 0.8793 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.3571, allocations: 77.98 kB / 0.8794 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002704/0.3598, allocations: 0.7503 MB / 0.8801 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3598, allocations: 0 / 0.8801 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3599, allocations: 8 kB / 0.8801 GB, free: 0.7656 MB / 0.5417 GB 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.0003444/0.3602, allocations: 319.4 kB / 0.8804 GB, free: 416 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3603, allocations: 8.562 kB / 0.8804 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.3604, allocations: 3.984 kB / 0.8804 GB, free: 404 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3605, allocations: 159.1 kB / 0.8806 GB, free: 204 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3605, allocations: 3.953 kB / 0.8806 GB, free: 200 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.3605, allocations: 3.938 kB / 0.8806 GB, free: 196 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.3606, allocations: 33.7 kB / 0.8806 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3607, allocations: 4 kB / 0.8806 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3607, allocations: 0 / 0.8806 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3607, allocations: 0 / 0.8806 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.3607, allocations: 0 / 0.8806 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3242/0.6849, allocations: 149.7 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.685, allocations: 18.22 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.6852, allocations: 87.75 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.6853, allocations: 34.02 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.494e-06/0.6853, allocations: 1.688 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.6854, allocations: 33.28 kB / 0.8809 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.6855, allocations: 52.73 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.667e-05/0.6855, allocations: 90.22 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.6855, allocations: 26.45 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.294e-05/0.6855, allocations: 80.14 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.6856, allocations: 3.984 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.6856, allocations: 0.5625 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.6856, allocations: 315 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.6856, allocations: 1.656 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.6856, allocations: 2.359 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.677e-05/0.6857, allocations: 1.312 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6857, allocations: 1.25 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.6857, allocations: 42.08 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6858, allocations: 5.219 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6858, allocations: 1.438 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6858, allocations: 0.6875 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.6859, allocations: 6.203 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6859, allocations: 0.8125 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.6859, allocations: 0 / 0.8815 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.6859, allocations: 5.75 kB / 0.8815 GB, free: 108.3 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.6859, allocations: 107.9 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.686, allocations: 1.188 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.6861, allocations: 42.41 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6861, allocations: 4.469 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6861, allocations: 4.891 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6861, allocations: 0.5156 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.66e-05/0.6861, allocations: 145.4 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6861, allocations: 0.875 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.6862, allocations: 2.109 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6862, allocations: 0.6875 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.6862, allocations: 0.5625 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6862, allocations: 1.375 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6862, allocations: 7.141 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.202e-05/0.6863, allocations: 69.06 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.6863, allocations: 78.61 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.6863, allocations: 2.141 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.6863, allocations: 0.6094 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.6863, allocations: 1.922 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.6863, allocations: 1.344 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.209e-05/0.6864, allocations: 78.25 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.32e-07/0.6864, allocations: 288 / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002625/0.6866, allocations: 25.08 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002056/0.6868, allocations: 117 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.6869, allocations: 6.672 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6869, allocations: 0 / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/0.6869, allocations: 2.844 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.399e-05/0.687, allocations: 6.375 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.6872, allocations: 77.88 kB / 0.8823 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.6873, allocations: 0.6739 MB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.6873, allocations: 4.641 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-06/0.6873, allocations: 8.156 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6873, allocations: 0.625 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.002093/0.6894, allocations: 391.4 kB / 0.8833 GB, free: 106.8 MB / 0.5417 GB 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)