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.7955/0.7955, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.8 kB / 182.2 MB, free: 9.453 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.379/1.379, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008659/0.0008655, allocations: 88.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 286.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.038e-05, allocations: 8 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4856, allocations: 107.4 MB / 0.8622 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4858, allocations: 75.83 kB / 0.8623 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002283/0.4881, allocations: 0.7489 MB / 0.863 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4882, allocations: 0 / 0.863 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4882, allocations: 0 / 0.863 GB, free: 3.688 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003016/0.4885, allocations: 318.5 kB / 0.8633 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.4886, allocations: 12.03 kB / 0.8634 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4887, allocations: 0 / 0.8634 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4888, allocations: 159.1 kB / 0.8635 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4889, allocations: 7.953 kB / 0.8635 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4889, allocations: 7.938 kB / 0.8635 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.91e-05/0.489, allocations: 3.938 kB / 0.8635 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.362e-05/0.489, allocations: 25.7 kB / 0.8635 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.489, allocations: 3.984 kB / 0.8635 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4891, allocations: 4 kB / 0.8636 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4891, allocations: 0 / 0.8636 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.4892, allocations: 126.2 kB / 0.8637 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.4893, allocations: 18.56 kB / 0.8637 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.4893, allocations: 8.953 kB / 0.8637 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.4896, allocations: 93.08 kB / 0.8638 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4896, allocations: 42.39 kB / 0.8638 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4897, allocations: 0 / 0.8638 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.4898, allocations: 33.7 kB / 0.8639 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4899, allocations: 51.41 kB / 0.8639 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.4899, allocations: 85 kB / 0.864 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.4899, allocations: 25.7 kB / 0.864 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.49, allocations: 80.14 kB / 0.8641 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.49, allocations: 4 kB / 0.8641 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.49, allocations: 0 / 0.8641 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4902, allocations: 318.8 kB / 0.8644 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.4902, allocations: 4.031 kB / 0.8644 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.4902, allocations: 0 / 0.8644 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.4902, allocations: 4 kB / 0.8644 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4902, allocations: 0 / 0.8644 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.759e-05/0.4903, allocations: 33.64 kB / 0.8644 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4904, allocations: 5.562 kB / 0.8644 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4904, allocations: 0 / 0.8644 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4904, allocations: 3.953 kB / 0.8644 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.4904, allocations: 4 kB / 0.8645 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4905, allocations: 8.078 kB / 0.8645 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.4905, allocations: 0 / 0.8645 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4905, allocations: 0 / 0.8645 GB, free: 2.012 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 (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 6.742e-05/0.4906, allocations: 101 kB / 0.8646 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.4906, allocations: 4 kB / 0.8646 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.4907, allocations: 37.36 kB / 0.8646 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4907, allocations: 0 / 0.8646 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.4907, allocations: 7.891 kB / 0.8646 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4907, allocations: 0 / 0.8646 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.4908, allocations: 130.3 kB / 0.8647 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4908, allocations: 0 / 0.8647 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.4908, allocations: 7.938 kB / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4909, allocations: 0 / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.4909, allocations: 0 / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4909, allocations: 0 / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4909, allocations: 0 / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.491, allocations: 65.08 kB / 0.8648 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.491, allocations: 81.14 kB / 0.8649 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.491, allocations: 0 / 0.8649 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-06/0.4911, allocations: 0 / 0.8649 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.4911, allocations: 0 / 0.8649 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4911, allocations: 4 kB / 0.8649 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.4911, allocations: 75.28 kB / 0.865 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4911, allocations: 3.938 kB / 0.865 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000246/0.4914, allocations: 19.94 kB / 0.865 GB, free: 1.398 MB / 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 (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.0002303/0.4916, allocations: 123.2 kB / 0.8651 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.4917, allocations: 11.94 kB / 0.8651 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4917, allocations: 0 / 0.8651 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.4917, allocations: 0 / 0.8651 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.874e-05/0.4918, allocations: 5.078 kB / 0.8651 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.4919, allocations: 44.2 kB / 0.8651 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.4922, allocations: 0.6767 MB / 0.8658 GB, free: 496 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.383e-05/0.4922, allocations: 3.984 kB / 0.8658 GB, free: 492 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.4922, allocations: 11.38 kB / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.4922, allocations: 0 / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of Templates: time 0.002008/0.4943, allocations: 381.3 kB / 0.8662 GB, free: 104 kB / 0.5261 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)