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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, 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.7729/0.7729, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.453/1.453, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009195/0.0009194, allocations: 96.58 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.175e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4611, allocations: 82.3 MB / 0.634 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.6306, allocations: 125.6 MB / 0.7566 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.6309, allocations: 117.5 kB / 0.7567 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.7378, allocations: 25.17 MB / 0.7813 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7378, allocations: 0 / 0.7813 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.917e-05/0.7379, allocations: 20 kB / 0.7813 GB, free: 3.73 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.003223/0.7411, allocations: 1.346 MB / 0.7826 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7412, allocations: 15.97 kB / 0.7826 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.7418, allocations: 154 kB / 0.7828 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.743, allocations: 0.6455 MB / 0.7834 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.743, allocations: 3.984 kB / 0.7834 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.7431, allocations: 24 kB / 0.7834 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004004/0.7435, allocations: 419.8 kB / 0.7838 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.7439, allocations: 391.1 kB / 0.7842 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7439, allocations: 7.938 kB / 0.7842 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.7439, allocations: 0 / 0.7842 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.744, allocations: 3.953 kB / 0.7842 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.7453, allocations: 0.9317 MB / 0.7851 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.7458, allocations: 0.5477 MB / 0.7856 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.7461, allocations: 333.7 kB / 0.786 GB, free: 14.73 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.7472, allocations: 1.044 MB / 0.787 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.7476, allocations: 388.9 kB / 0.7874 GB, free: 13.06 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.7476, allocations: 4 kB / 0.7874 GB, free: 13.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001279/0.7489, allocations: 1.015 MB / 0.7884 GB, free: 12.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.749, allocations: 81.11 kB / 0.7884 GB, free: 11.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.7515, allocations: 1.533 MB / 0.7899 GB, free: 10.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.7516, allocations: 29.7 kB / 0.79 GB, free: 10.33 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005509/0.7521, allocations: 478 kB / 0.7904 GB, free: 9.855 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.7522, allocations: 23.73 kB / 0.7904 GB, free: 9.832 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.7523, allocations: 0 / 0.7904 GB, free: 9.832 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.7526, allocations: 415 kB / 0.7908 GB, free: 9.422 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.7544, allocations: 1.448 MB / 0.7922 GB, free: 7.973 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.7564, allocations: 1.581 MB / 0.7938 GB, free: 6.383 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.7587, allocations: 1.845 MB / 0.7956 GB, free: 4.52 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7587, allocations: 0 / 0.7956 GB, free: 4.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005072/0.7638, allocations: 3.964 MB / 0.7995 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.7639, allocations: 4 kB / 0.7995 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-05/0.764, allocations: 27.98 kB / 0.7995 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.764, allocations: 4.031 kB / 0.7995 GB, free: 496 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.7647, allocations: 143.8 kB / 0.7996 GB, free: 352 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.7647, allocations: 4 kB / 0.7996 GB, free: 348 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.7657, allocations: 228.3 kB / 0.7999 GB, free: 116 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.7658, allocations: 91.98 kB / 0.7999 GB, free: 24 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.3649/1.131, allocations: 112.7 kB / 0.8 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001422/1.132, allocations: 1.012 MB / 0.801 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.132, allocations: 123.6 kB / 0.8012 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.134, allocations: 0.9975 MB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.134, allocations: 1.062 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.134, allocations: 1.547 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.134, allocations: 1.984 kB / 0.8021 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.135, allocations: 0.6524 MB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.135, allocations: 0.875 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.135, allocations: 9.094 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.135, allocations: 1.453 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/1.135, allocations: 3.781 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.135, allocations: 1.469 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.135, allocations: 2.781 kB / 0.8028 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/1.137, allocations: 1.063 MB / 0.8038 GB, free: 146.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.137, allocations: 211.4 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.137, allocations: 2.406 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.138, allocations: 5.672 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/1.138, allocations: 5.797 kB / 0.804 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.138, allocations: 20.55 kB / 0.8041 GB, free: 146.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001714/1.139, allocations: 1.007 MB / 0.805 GB, free: 145.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.11e-07/1.139, allocations: 0 / 0.805 GB, free: 145.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002088/1.141, allocations: 0.5097 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.00307/1.145, allocations: 2.137 MB / 0.8076 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00261/1.147, allocations: 2.477 MB / 0.81 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.147, allocations: 0 / 0.81 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.147, allocations: 339.4 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.0004228/1.148, allocations: 58.89 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.003398/1.151, allocations: 2.545 MB / 0.8129 GB, free: 144.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/1.152, allocations: 1.181 MB / 0.8141 GB, free: 143.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003762/1.152, allocations: 128.8 kB / 0.8142 GB, free: 143.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/1.153, allocations: 480.4 kB / 0.8146 GB, free: 143.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/1.153, allocations: 0 / 0.8146 GB, free: 143.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/1.2, allocations: 22.88 MB / 0.837 GB, free: 131.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.2, allocations: 214.5 kB / 0.8372 GB, free: 131.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/4.11, allocations: 0 / 0.8372 GB, free: 131.5 MB / 0.573 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/linux/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)