Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008553/0.008553, allocations: 100 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 185.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8408/0.8408, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.91 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.5759, allocations: 80.19 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003916/0.5799, allocations: 1.41 MB / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006672/0.5866, allocations: 3.021 MB / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.5868, allocations: 1.031 kB / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.587, allocations: 15.81 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.5875, allocations: 24.44 kB / 0.6636 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.592, allocations: 0.994 MB / 0.6646 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.5923, allocations: 88.14 kB / 0.6647 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.5924, allocations: 4.25 kB / 0.6647 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.5925, allocations: 43.11 kB / 0.6647 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.5928, allocations: 160.4 kB / 0.6649 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.5929, allocations: 13.44 kB / 0.6649 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.5957, allocations: 1.38 MB / 0.6662 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/0.5965, allocations: 0.6861 MB / 0.6669 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.5968, allocations: 443 kB / 0.6673 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.5998, allocations: 1.79 MB / 0.6691 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5998, allocations: 4 kB / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5998, allocations: 0 / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.5998, allocations: 1.344 kB / 0.6691 GB, free: 3.688 MB / 0.4981 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.01167/0.6115, allocations: 1.692 MB / 0.6707 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6116, allocations: 9.656 kB / 0.6707 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.6116, allocations: 36.14 kB / 0.6708 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.6121, allocations: 140 kB / 0.6709 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.6127, allocations: 0.5239 MB / 0.6714 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6127, allocations: 6.25 kB / 0.6714 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.6128, allocations: 8.297 kB / 0.6714 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.6133, allocations: 395.4 kB / 0.6718 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6133, allocations: 0 / 0.6718 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6133, allocations: 5.078 kB / 0.6718 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6133, allocations: 1.25 kB / 0.6718 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.6138, allocations: 437.8 kB / 0.6722 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.6147, allocations: 0.803 MB / 0.673 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.6153, allocations: 0.5648 MB / 0.6736 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.6157, allocations: 342.1 kB / 0.6739 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009747/0.6166, allocations: 1.019 MB / 0.6749 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.6171, allocations: 414.5 kB / 0.6753 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.6171, allocations: 0 / 0.6753 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001685/0.6188, allocations: 1.339 MB / 0.6766 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.6189, allocations: 83.78 kB / 0.6767 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.6211, allocations: 1.842 MB / 0.6785 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.6212, allocations: 36.05 kB / 0.6785 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.6216, allocations: 471.7 kB / 0.6789 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.6216, allocations: 27.22 kB / 0.679 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.622, allocations: 352 kB / 0.6793 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6221, allocations: 301.1 kB / 0.6796 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.6236, allocations: 1.512 MB / 0.6811 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.6251, allocations: 1.646 MB / 0.6827 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007387/0.6325, allocations: 3.693 MB / 0.6863 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.6326, allocations: 4 kB / 0.6863 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004784/0.6374, allocations: 4.32 MB / 0.6905 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6374, allocations: 8.031 kB / 0.6905 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.6375, allocations: 4 kB / 0.6905 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6375, allocations: 0 / 0.6905 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.6376, allocations: 15.98 kB / 0.6905 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6377, allocations: 4.25 kB / 0.6905 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.6385, allocations: 232.3 kB / 0.6908 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.6386, allocations: 23.98 kB / 0.6908 GB, free: 5.191 MB / 0.5137 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005921/0.6392, allocations: 374.1 kB / 0.6911 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.6394, allocations: 118 kB / 0.6913 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.6397, allocations: 149 kB / 0.6914 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6398, allocations: 0 / 0.6914 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6398, allocations: 0 / 0.6914 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6398, allocations: 0 / 0.6914 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.6405, allocations: 0.6833 MB / 0.6921 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6405, allocations: 0 / 0.6921 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.6406, allocations: 16.03 kB / 0.6921 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6406, allocations: 0 / 0.6921 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6406, allocations: 7.984 kB / 0.6921 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.6407, allocations: 7.922 kB / 0.6921 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6407, allocations: 0 / 0.6921 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/0.6416, allocations: 1.055 MB / 0.6931 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.6418, allocations: 199.1 kB / 0.6933 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.6419, allocations: 4 kB / 0.6933 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.6421, allocations: 4 kB / 0.6933 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.6422, allocations: 7.984 kB / 0.6933 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.6422, allocations: 11.98 kB / 0.6933 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001293/0.6435, allocations: 1.104 MB / 0.6944 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6435, allocations: 0 / 0.6944 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001474/0.645, allocations: 431.9 kB / 0.6948 GB, free: 0.8984 MB / 0.5137 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002664/0.6477, allocations: 1.984 MB / 0.6968 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.6503, allocations: 2.648 MB / 0.6994 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6503, allocations: 0 / 0.6994 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.6507, allocations: 351.8 kB / 0.6997 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.6513, allocations: 48.58 kB / 0.6997 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3116/0.9629, allocations: 36.35 MB / 0.7352 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.9641, allocations: 1.157 MB / 0.7364 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.9644, allocations: 32.56 kB / 0.7364 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.965, allocations: 431.3 kB / 0.7368 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/0.965, allocations: 4 kB / 0.7368 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.07, allocations: 60.25 MB / 0.7957 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.16, allocations: 10.84 kB / 0.7957 GB, free: 9.484 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)