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.7813/0.7813, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001041/0.001041, allocations: 180.1 kB / 182.2 MB, free: 9.477 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.38/1.38, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009537/0.0009537, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 278.2 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.725e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5232, allocations: 108.1 MB / 0.8629 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.5234, allocations: 71.84 kB / 0.863 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003328/0.5268, allocations: 1.041 MB / 0.864 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5268, allocations: 0 / 0.864 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5268, allocations: 0 / 0.864 GB, free: 2.672 MB / 0.5261 GB 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.0003752/0.5272, allocations: 346.5 kB / 0.8644 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5272, allocations: 8.031 kB / 0.8644 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.5273, allocations: 0 / 0.8644 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5274, allocations: 167.1 kB / 0.8645 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5275, allocations: 7.891 kB / 0.8645 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.5275, allocations: 0 / 0.8645 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.19e-05/0.5275, allocations: 12 kB / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.927e-05/0.5276, allocations: 33.69 kB / 0.8646 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5276, allocations: 0 / 0.8646 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.5277, allocations: 7.938 kB / 0.8646 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5277, allocations: 0 / 0.8646 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.5281, allocations: 249.4 kB / 0.8648 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.5282, allocations: 22.58 kB / 0.8648 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.5282, allocations: 16.92 kB / 0.8649 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.5284, allocations: 89.03 kB / 0.8649 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5284, allocations: 34.56 kB / 0.865 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.5284, allocations: 0 / 0.865 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.5286, allocations: 45.62 kB / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.5286, allocations: 51.41 kB / 0.8651 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.5287, allocations: 93.02 kB / 0.8652 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.5287, allocations: 29.7 kB / 0.8652 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.5288, allocations: 84.14 kB / 0.8653 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5288, allocations: 11.84 kB / 0.8653 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.5288, allocations: 0 / 0.8653 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.5289, allocations: 314.8 kB / 0.8656 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.5289, allocations: 8 kB / 0.8656 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.5289, allocations: 0 / 0.8656 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.529, allocations: 8 kB / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.529, allocations: 4.062 kB / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.48e-05/0.5291, allocations: 41.66 kB / 0.8656 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5291, allocations: 5.719 kB / 0.8656 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5291, allocations: 0 / 0.8656 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5291, allocations: 0 / 0.8656 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.5292, allocations: 15.92 kB / 0.8657 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5293, allocations: 0 / 0.8657 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.5293, allocations: 12.02 kB / 0.8657 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.5293, allocations: 8 kB / 0.8657 GB, free: 0.7656 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.5294, allocations: 101 kB / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.5294, allocations: 7.953 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.5296, allocations: 49.34 kB / 0.8658 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5296, allocations: 3.938 kB / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5296, allocations: 0 / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5296, allocations: 0 / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.5297, allocations: 134.2 kB / 0.866 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5297, allocations: 8.031 kB / 0.866 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.5298, allocations: 11.98 kB / 0.866 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5298, allocations: 0 / 0.866 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5298, allocations: 7.953 kB / 0.866 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5298, allocations: 0 / 0.866 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5298, allocations: 3.938 kB / 0.866 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.53, allocations: 131.5 kB / 0.8661 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.53, allocations: 85.14 kB / 0.8662 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.53, allocations: 0 / 0.8662 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.5301, allocations: 11.94 kB / 0.8662 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.5302, allocations: 4 kB / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.5302, allocations: 0 / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.5302, allocations: 91.2 kB / 0.8663 GB, free: 44 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5302, allocations: 0 / 0.8663 GB, free: 44 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002467/0.5305, allocations: 12 kB / 0.8663 GB, free: 32 kB / 0.5261 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 () * 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 (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.0002096/0.5307, allocations: 123.2 kB / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.5308, allocations: 15.94 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5308, allocations: 0 / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.5308, allocations: 4 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.531, allocations: 4.688 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.5312, allocations: 60.12 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.5314, allocations: 0.6768 MB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.5315, allocations: 7.938 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.5315, allocations: 7.438 kB / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5315, allocations: 0 / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.002626/0.5341, allocations: 0.5274 MB / 0.8677 GB, free: 14.56 MB / 0.5417 GB 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)