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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7802/0.7802, allocations: 140.1 MB / 156 MB, free: 5.133 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009908/0.0009909, allocations: 175 kB / 188.5 MB, free: 15.79 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 426.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000713/0.000713, allocations: 82.42 kB / 0.4945 GB, free: 8.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0016/0.0016, allocations: 265.5 kB / 0.5729 GB, free: 66.18 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 19.98 kB / 0.662 GB, free: 6.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3467, allocations: 79.3 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4715, allocations: 106.6 MB / 0.8436 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4718, allocations: 75.95 kB / 0.8437 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001869/0.4737, allocations: 0.7489 MB / 0.8444 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4737, allocations: 3.938 kB / 0.8444 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4737, allocations: 4 kB / 0.8444 GB, free: 2.715 MB / 0.5105 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.0002367/0.4739, allocations: 327.5 kB / 0.8447 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.474, allocations: 8.031 kB / 0.8447 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.4741, allocations: 0.9375 kB / 0.8447 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4742, allocations: 160.4 kB / 0.8449 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4742, allocations: 384 / 0.8449 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.4742, allocations: 4.375 kB / 0.8449 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.4743, allocations: 26.27 kB / 0.8449 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.4743, allocations: 4.188 kB / 0.8449 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4744, allocations: 3.938 kB / 0.8449 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4744, allocations: 3.938 kB / 0.8449 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.4744, allocations: 4 kB / 0.8449 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4745, allocations: 149.7 kB / 0.8451 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.4746, allocations: 14.58 kB / 0.8451 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.4746, allocations: 8.953 kB / 0.8451 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.4748, allocations: 89.09 kB / 0.8452 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4748, allocations: 34.56 kB / 0.8452 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4748, allocations: 0 / 0.8452 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.475, allocations: 41.58 kB / 0.8452 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.475, allocations: 55.41 kB / 0.8453 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.189e-05/0.4751, allocations: 89.86 kB / 0.8454 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4751, allocations: 29.69 kB / 0.8454 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.4751, allocations: 80.27 kB / 0.8455 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.4752, allocations: 4 kB / 0.8455 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-06/0.4752, allocations: 0 / 0.8455 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.4753, allocations: 310.8 kB / 0.8458 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-06/0.4753, allocations: 0 / 0.8458 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.4753, allocations: 4 kB / 0.8458 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.4753, allocations: 12.8 kB / 0.8458 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4753, allocations: 3.938 kB / 0.8458 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.041e-05/0.4754, allocations: 41.7 kB / 0.8459 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4754, allocations: 5.562 kB / 0.8459 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4754, allocations: 3.984 kB / 0.8459 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4755, allocations: 3.938 kB / 0.8459 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.4755, allocations: 4 kB / 0.8459 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4755, allocations: 0 / 0.8459 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.4755, allocations: 0 / 0.8459 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4755, allocations: 0 / 0.8459 GB, free: 0.9805 MB / 0.5105 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 6.464e-05/0.4756, allocations: 105.8 kB / 0.846 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.4756, allocations: 7.922 kB / 0.846 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.4757, allocations: 56.69 kB / 0.846 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4757, allocations: 0 / 0.846 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4757, allocations: 0 / 0.846 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4757, allocations: 0 / 0.846 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.846e-05/0.4758, allocations: 141.7 kB / 0.8462 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4758, allocations: 0 / 0.8462 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.4758, allocations: 4 kB / 0.8462 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4759, allocations: 0 / 0.8462 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4759, allocations: 3.938 kB / 0.8462 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4759, allocations: 3.984 kB / 0.8462 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4759, allocations: 4.031 kB / 0.8462 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.971e-05/0.476, allocations: 57.14 kB / 0.8462 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.476, allocations: 77.11 kB / 0.8463 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.476, allocations: 7.875 kB / 0.8463 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.476, allocations: 0 / 0.8463 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.476, allocations: 3.984 kB / 0.8463 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.4761, allocations: 0 / 0.8463 GB, free: 428 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.4761, allocations: 79.31 kB / 0.8464 GB, free: 348 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4761, allocations: 0 / 0.8464 GB, free: 348 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002173/0.4763, allocations: 19.94 kB / 0.8464 GB, free: 328 kB / 0.5105 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.0002119/0.4765, allocations: 123.2 kB / 0.8465 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.046e-05/0.4766, allocations: 8 kB / 0.8465 GB, free: 188 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4766, allocations: 4.062 kB / 0.8465 GB, free: 184 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.4766, allocations: 0 / 0.8465 GB, free: 184 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.4768, allocations: 4 kB / 0.8465 GB, free: 180 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.4769, allocations: 66.77 kB / 0.8466 GB, free: 84 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4772, allocations: 0.677 MB / 0.8473 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.4772, allocations: 0 / 0.8473 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.4772, allocations: 11.44 kB / 0.8473 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.4772, allocations: 0 / 0.8473 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.002094/0.4793, allocations: 402.7 kB / 0.8477 GB, free: 14.98 MB / 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)