Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001453/0.001453, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7802/0.7802, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009109/0.0009109, allocations: 100.1 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.148e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4382, allocations: 82.28 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5858, allocations: 118.6 MB / 0.7498 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5861, allocations: 99.92 kB / 0.7499 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05368/0.6398, allocations: 16.32 MB / 0.7658 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6398, allocations: 0 / 0.7658 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.135e-05/0.6399, allocations: 8 kB / 0.7658 GB, free: 3.559 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002566/0.6425, allocations: 0.8138 MB / 0.7666 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.6425, allocations: 16.02 kB / 0.7666 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.6429, allocations: 39.53 kB / 0.7666 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.6438, allocations: 368.3 kB / 0.767 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.6439, allocations: 4 kB / 0.767 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.6441, allocations: 35.94 kB / 0.767 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003448/0.6444, allocations: 155.9 kB / 0.7672 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.6448, allocations: 174.1 kB / 0.7673 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6448, allocations: 0 / 0.7673 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.6448, allocations: 0 / 0.7673 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6448, allocations: 4 kB / 0.7673 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.6503, allocations: 1.483 MB / 0.7688 GB, free: 352 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.6521, allocations: 0.5656 MB / 0.7694 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.6523, allocations: 132.8 kB / 0.7695 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.6524, allocations: 0 / 0.7695 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.6524, allocations: 38.56 kB / 0.7695 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.6524, allocations: 0 / 0.7695 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.000691/0.6531, allocations: 324.2 kB / 0.7698 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.6531, allocations: 51.41 kB / 0.7699 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.6535, allocations: 330 kB / 0.7702 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.6536, allocations: 25.7 kB / 0.7702 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.6537, allocations: 165 kB / 0.7704 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6538, allocations: 94.66 kB / 0.7705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.6539, allocations: 0 / 0.7705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.654, allocations: 350.8 kB / 0.7708 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.6545, allocations: 325.4 kB / 0.7711 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.655, allocations: 377.4 kB / 0.7715 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.6556, allocations: 360.4 kB / 0.7718 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6556, allocations: 0 / 0.7718 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00137/0.657, allocations: 0.8479 MB / 0.7726 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.657, allocations: 33.7 kB / 0.7727 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.657, allocations: 0 / 0.7727 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.6572, allocations: 28.84 kB / 0.7727 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.6581, allocations: 155.7 kB / 0.7728 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.6591, allocations: 1.291 MB / 0.7741 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.6607, allocations: 91.47 kB / 0.7742 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.6607, allocations: 27.98 kB / 0.7742 GB, free: 10.59 MB / 0.5573 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.6609, allocations: 111.6 kB / 0.7743 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004864/0.6614, allocations: 324.3 kB / 0.7746 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.6614, allocations: 31.53 kB / 0.7747 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.6615, allocations: 39.25 kB / 0.7747 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6616, allocations: 7.938 kB / 0.7747 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6616, allocations: 0 / 0.7747 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.6616, allocations: 3.984 kB / 0.7747 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.6621, allocations: 473.4 kB / 0.7752 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6621, allocations: 0 / 0.7752 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.6624, allocations: 47.97 kB / 0.7752 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.36e-05/0.6625, allocations: 28.78 kB / 0.7752 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.6625, allocations: 11.98 kB / 0.7752 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/0.6633, allocations: 1.283 MB / 0.7765 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.6634, allocations: 8.016 kB / 0.7765 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.664, allocations: 0.5508 MB / 0.777 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.6641, allocations: 116.6 kB / 0.7772 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.6642, allocations: 11.98 kB / 0.7772 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.6648, allocations: 24.03 kB / 0.7772 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.6649, allocations: 15.97 kB / 0.7772 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.6649, allocations: 8 kB / 0.7772 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002079/0.6651, allocations: 228.6 kB / 0.7774 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6651, allocations: 0 / 0.7774 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007823/0.6659, allocations: 267.9 kB / 0.7777 GB, free: 6.812 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.6671, allocations: 1.241 MB / 0.7789 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.6681, allocations: 0.7068 MB / 0.7796 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6681, allocations: 0 / 0.7796 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.6684, allocations: 238.5 kB / 0.7798 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.6689, allocations: 83.7 kB / 0.7799 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.6708, allocations: 1.256 MB / 0.7811 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.6712, allocations: 0.8271 MB / 0.7819 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.6715, allocations: 107.1 kB / 0.782 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.6718, allocations: 135.4 kB / 0.7822 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.6718, allocations: 0 / 0.7822 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.7075, allocations: 10.92 MB / 0.7928 GB, free: 7.258 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.7078, allocations: 182.2 kB / 0.793 GB, free: 7.055 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.013, allocations: 0 / 0.793 GB, free: 7.055 MB / 0.573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)