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 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.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.7343/0.7343, allocations: 140.1 MB / 156 MB, free: 5.156 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.0009827/0.0009827, allocations: 181.4 kB / 188.5 MB, free: 15.81 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.47/1.47, allocations: 205.4 MB / 426.3 MB, free: 8.449 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.0008116/0.0008116, allocations: 90.36 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001677/0.001677, allocations: 273.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 20 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3684, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5009, allocations: 107.3 MB / 0.8443 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5012, allocations: 79.88 kB / 0.8443 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003005/0.5043, allocations: 1.045 MB / 0.8454 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5043, allocations: 0 / 0.8454 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5043, allocations: 0 / 0.8454 GB, free: 1.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003318/0.5046, allocations: 343.5 kB / 0.8457 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5047, allocations: 8.031 kB / 0.8457 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.5047, allocations: 12.83 kB / 0.8457 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.5048, allocations: 176.3 kB / 0.8459 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5049, allocations: 384 / 0.8459 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.5049, allocations: 384 / 0.8459 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.5051, allocations: 54.23 kB / 0.8459 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5051, allocations: 192 / 0.8459 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5051, allocations: 3.938 kB / 0.8459 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5051, allocations: 0 / 0.8459 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.5052, allocations: 47.97 kB / 0.846 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.5056, allocations: 268.9 kB / 0.8462 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.5058, allocations: 54.38 kB / 0.8463 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.5058, allocations: 28.89 kB / 0.8463 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.506, allocations: 93.09 kB / 0.8464 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.506, allocations: 30.56 kB / 0.8464 GB, free: 480 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.506, allocations: 0 / 0.8464 GB, free: 480 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.5064, allocations: 101.7 kB / 0.8465 GB, free: 372 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5064, allocations: 55.41 kB / 0.8466 GB, free: 304 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.5065, allocations: 93.86 kB / 0.8467 GB, free: 200 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5065, allocations: 29.7 kB / 0.8467 GB, free: 164 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.5066, allocations: 84.05 kB / 0.8468 GB, free: 76 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.5066, allocations: 3.984 kB / 0.8468 GB, free: 72 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5066, allocations: 4 kB / 0.8468 GB, free: 68 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5067, allocations: 314.9 kB / 0.8471 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.5068, allocations: 19.98 kB / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.5068, allocations: 19.98 kB / 0.8471 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.507, allocations: 56.88 kB / 0.8472 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.507, allocations: 3.938 kB / 0.8472 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.5072, allocations: 85.45 kB / 0.8473 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5072, allocations: 4 kB / 0.8473 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5072, allocations: 3.984 kB / 0.8473 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5072, allocations: 4 kB / 0.8473 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.5073, allocations: 8 kB / 0.8473 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5073, allocations: 0 / 0.8473 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.5074, allocations: 12.02 kB / 0.8473 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.5074, allocations: 4 kB / 0.8473 GB, free: 15.52 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 () * Number of clocked 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.228e-05/0.5075, allocations: 109.8 kB / 0.8474 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.5075, allocations: 0 / 0.8474 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.5077, allocations: 84.78 kB / 0.8475 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5077, allocations: 3.984 kB / 0.8475 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5077, allocations: 3.938 kB / 0.8475 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5078, allocations: 192 / 0.8475 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.5079, allocations: 161.6 kB / 0.8476 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5079, allocations: 0 / 0.8476 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.508, allocations: 11.98 kB / 0.8477 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.508, allocations: 3.984 kB / 0.8477 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.508, allocations: 0 / 0.8477 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.508, allocations: 4.031 kB / 0.8477 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.508, allocations: 0 / 0.8477 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.5082, allocations: 175.5 kB / 0.8478 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.5083, allocations: 85.05 kB / 0.8479 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5083, allocations: 0 / 0.8479 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.5084, allocations: 11.98 kB / 0.8479 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.5084, allocations: 7.938 kB / 0.8479 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.5084, allocations: 0 / 0.8479 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.5085, allocations: 87.27 kB / 0.848 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.703e-06/0.5085, allocations: 0 / 0.848 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002254/0.5087, allocations: 23.88 kB / 0.848 GB, free: 14.67 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 () * Number of clocked 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.0001778/0.5089, allocations: 119.2 kB / 0.8481 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.5091, allocations: 47.97 kB / 0.8482 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5091, allocations: 0 / 0.8482 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.5092, allocations: 23.98 kB / 0.8482 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.5095, allocations: 16.27 kB / 0.8482 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.5097, allocations: 96.84 kB / 0.8483 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.51, allocations: 0.6848 MB / 0.849 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.51, allocations: 3.938 kB / 0.849 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.51, allocations: 7.438 kB / 0.849 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.51, allocations: 0 / 0.849 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.002476/0.5125, allocations: 0.5661 MB / 0.8496 GB, free: 13.05 MB / 0.5261 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)