Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4863/0.4863, allocations: 90.81 MB / 104.5 MB, free: 13.88 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 102.3 kB / 421.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.968e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 72.32 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5666, allocations: 101.6 MB / 0.6596 GB, free: 6.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.5668, allocations: 76.08 kB / 0.6596 GB, free: 6.176 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003065/0.5699, allocations: 1.045 MB / 0.6607 GB, free: 5.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5699, allocations: 0 / 0.6607 GB, free: 5.234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.5699, allocations: 4 kB / 0.6607 GB, free: 5.23 MB / 458.7 MB 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.000382/0.5703, allocations: 349.6 kB / 0.661 GB, free: 4.848 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5704, allocations: 19.92 kB / 0.661 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.5704, allocations: 30.56 kB / 0.6611 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.5705, allocations: 3.953 kB / 0.6611 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5706, allocations: 171 kB / 0.6612 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5706, allocations: 0 / 0.6612 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.5706, allocations: 3.938 kB / 0.6612 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.5707, allocations: 33.2 kB / 0.6613 GB, free: 4.543 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5707, allocations: 8 kB / 0.6613 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.5708, allocations: 0 / 0.6613 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5708, allocations: 0 / 0.6613 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.5708, allocations: 22.17 kB / 0.6613 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.5712, allocations: 259.5 kB / 0.6615 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.5713, allocations: 29.77 kB / 0.6616 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.5713, allocations: 12.23 kB / 0.6616 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.5715, allocations: 85.09 kB / 0.6617 GB, free: 4.078 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5715, allocations: 30.56 kB / 0.6617 GB, free: 4.039 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5715, allocations: 4 kB / 0.6617 GB, free: 4.035 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.5717, allocations: 53.42 kB / 0.6617 GB, free: 3.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5717, allocations: 51.44 kB / 0.6618 GB, free: 3.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.5718, allocations: 96.94 kB / 0.6619 GB, free: 3.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5718, allocations: 25.7 kB / 0.6619 GB, free: 3.789 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.5719, allocations: 88.12 kB / 0.662 GB, free: 3.699 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.5719, allocations: 7.844 kB / 0.662 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.5719, allocations: 3.625 kB / 0.662 GB, free: 3.691 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.572, allocations: 314.8 kB / 0.6623 GB, free: 3.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.572, allocations: 4 kB / 0.6623 GB, free: 3.371 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.572, allocations: 7.75 kB / 0.6623 GB, free: 3.367 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.601e-05/0.5721, allocations: 4.062 kB / 0.6623 GB, free: 3.363 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5721, allocations: 4 kB / 0.6623 GB, free: 3.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.541e-05/0.5722, allocations: 41.33 kB / 0.6624 GB, free: 3.316 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5722, allocations: 4 kB / 0.6624 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5722, allocations: 0 / 0.6624 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5722, allocations: 7.984 kB / 0.6624 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.5723, allocations: 11.95 kB / 0.6624 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5723, allocations: 0 / 0.6624 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5724, allocations: 15.95 kB / 0.6624 GB, free: 3.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5724, allocations: 4 kB / 0.6624 GB, free: 3.273 MB / 458.7 MB 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 5.161e-05/0.5724, allocations: 103.9 kB / 0.6625 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.5725, allocations: 0 / 0.6625 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-05/0.5726, allocations: 55.38 kB / 0.6626 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5726, allocations: 0 / 0.6626 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5726, allocations: 3.953 kB / 0.6626 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5726, allocations: 7.969 kB / 0.6626 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.5727, allocations: 156.8 kB / 0.6627 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5728, allocations: 0 / 0.6627 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.5728, allocations: 8 kB / 0.6627 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5728, allocations: 3.984 kB / 0.6627 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.5728, allocations: 0 / 0.6627 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5728, allocations: 4 kB / 0.6627 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5729, allocations: 0 / 0.6627 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.573, allocations: 142.1 kB / 0.6629 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.573, allocations: 85.28 kB / 0.6629 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.573, allocations: 0 / 0.6629 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.5731, allocations: 7.984 kB / 0.663 GB, free: 2.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.5732, allocations: 7.984 kB / 0.663 GB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5732, allocations: 0 / 0.663 GB, free: 2.621 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.5732, allocations: 86.78 kB / 0.663 GB, free: 2.539 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5732, allocations: 4.031 kB / 0.663 GB, free: 2.535 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.5734, allocations: 19.95 kB / 0.6631 GB, free: 2.516 MB / 458.7 MB 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.0004769/0.5739, allocations: 0.6889 MB / 0.6637 GB, free: 1.809 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.904e-05/0.574, allocations: 14.81 kB / 0.6638 GB, free: 1.797 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.574, allocations: 0 / 0.6638 GB, free: 1.797 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.574, allocations: 10.69 kB / 0.6638 GB, free: 1.789 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.5742, allocations: 0.7812 kB / 0.6638 GB, free: 1.789 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.5745, allocations: 100.3 kB / 0.6639 GB, free: 1.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.5747, allocations: 0.6809 MB / 0.6645 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.5747, allocations: 4.125 kB / 0.6645 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.5748, allocations: 7.438 kB / 0.6645 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5748, allocations: 0 / 0.6645 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.5856, allocations: 1.238 MB / 0.6657 GB, free: 15.83 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.5858, allocations: 152.2 kB / 0.6659 GB, free: 15.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.301/1.887, allocations: 3.938 kB / 0.6659 GB, free: 15.61 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)