Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.001444/0.001444, allocations: 172.5 kB / 7.647 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.9504/0.9504, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.471/1.471, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0008855/0.0008854, allocations: 97.09 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.445e-05, allocations: 8 kB / 0.5536 GB, free: 8.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4533, allocations: 82.31 MB / 0.634 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.6151, allocations: 125.5 MB / 0.7566 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.6155, allocations: 111.9 kB / 0.7567 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.721, allocations: 25.17 MB / 0.7813 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.721, allocations: 0 / 0.7813 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.983e-05/0.721, allocations: 20 kB / 0.7813 GB, free: 3.711 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00245/0.7235, allocations: 1.343 MB / 0.7826 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.7236, allocations: 12.02 kB / 0.7826 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/0.724, allocations: 165.9 kB / 0.7828 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009468/0.725, allocations: 0.6416 MB / 0.7834 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.725, allocations: 4 kB / 0.7834 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/0.7251, allocations: 24 kB / 0.7834 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000388/0.7255, allocations: 423.8 kB / 0.7838 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.7258, allocations: 379.1 kB / 0.7842 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7259, allocations: 3.938 kB / 0.7842 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7259, allocations: 7.984 kB / 0.7842 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7259, allocations: 7.953 kB / 0.7842 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.7269, allocations: 0.9278 MB / 0.7851 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.7273, allocations: 0.5516 MB / 0.7857 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.7276, allocations: 329.7 kB / 0.786 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.7287, allocations: 1.036 MB / 0.787 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.729, allocations: 396.9 kB / 0.7874 GB, free: 13.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.729, allocations: 0 / 0.7874 GB, free: 13.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001109/0.7302, allocations: 1.023 MB / 0.7884 GB, free: 12.02 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.7302, allocations: 85.11 kB / 0.7884 GB, free: 11.91 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.7318, allocations: 1.525 MB / 0.7899 GB, free: 10.35 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.7319, allocations: 33.7 kB / 0.79 GB, free: 10.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.7323, allocations: 478 kB / 0.7904 GB, free: 9.836 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.7324, allocations: 23.73 kB / 0.7904 GB, free: 9.812 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.7325, allocations: 4 kB / 0.7904 GB, free: 9.809 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.7326, allocations: 407 kB / 0.7908 GB, free: 9.406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.7342, allocations: 1.452 MB / 0.7922 GB, free: 7.953 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.7358, allocations: 1.581 MB / 0.7938 GB, free: 6.363 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.7378, allocations: 1.845 MB / 0.7956 GB, free: 4.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7378, allocations: 0 / 0.7956 GB, free: 4.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004866/0.7427, allocations: 3.964 MB / 0.7995 GB, free: 0.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.7428, allocations: 4 kB / 0.7995 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/0.7428, allocations: 20 kB / 0.7995 GB, free: 488 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.7428, allocations: 4 kB / 0.7995 GB, free: 484 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.7435, allocations: 147.8 kB / 0.7996 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7435, allocations: 4 kB / 0.7996 GB, free: 332 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/0.7444, allocations: 228.3 kB / 0.7999 GB, free: 100 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.7445, allocations: 91.98 kB / 0.7999 GB, free: 8 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.3907/1.135, allocations: 115.1 kB / 0.8 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001444/1.137, allocations: 1.01 MB / 0.801 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.137, allocations: 121.3 kB / 0.8012 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/1.138, allocations: 0.9952 MB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.138, allocations: 2.109 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.138, allocations: 1 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/1.138, allocations: 4.609 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.14, allocations: 0.6561 MB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.14, allocations: 1.312 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/1.14, allocations: 9.766 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.14, allocations: 2.438 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.14, allocations: 2.859 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/1.14, allocations: 1.422 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.14, allocations: 2.875 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/1.141, allocations: 1.06 MB / 0.8038 GB, free: 146.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/1.141, allocations: 208.6 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.142, allocations: 6.062 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.142, allocations: 6.969 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/1.142, allocations: 13.05 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.142, allocations: 12.22 kB / 0.8041 GB, free: 146.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001776/1.144, allocations: 1.005 MB / 0.805 GB, free: 145.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.392e-06/1.144, allocations: 2.438 kB / 0.805 GB, free: 145.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002119/1.146, allocations: 0.5113 MB / 0.8055 GB, free: 145.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003066/1.149, allocations: 2.135 MB / 0.8076 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.151, allocations: 2.487 MB / 0.8101 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.151, allocations: 0 / 0.8101 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.152, allocations: 333.5 kB / 0.8104 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/1.152, allocations: 57.67 kB / 0.8104 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/1.155, allocations: 2.544 MB / 0.8129 GB, free: 144.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/1.156, allocations: 1.182 MB / 0.8141 GB, free: 143.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003923/1.156, allocations: 127.9 kB / 0.8142 GB, free: 143.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/1.157, allocations: 475.6 kB / 0.8146 GB, free: 143.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.463e-06/1.157, allocations: 0 / 0.8146 GB, free: 143.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/1.201, allocations: 22.89 MB / 0.837 GB, free: 131.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.201, allocations: 214 kB / 0.8372 GB, free: 131.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.2, allocations: 2.812 kB / 0.8372 GB, free: 131.5 MB / 0.573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)