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.001243/0.001246, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.712/0.712, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 88.86 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.967e-05, allocations: 4.156 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 82.3 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5733/0.7246, allocations: 126.2 MB / 0.7638 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.7249, allocations: 108.2 kB / 0.7639 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1013/0.8262, allocations: 25.34 MB / 0.7887 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8263, allocations: 0 / 0.7887 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001245/0.8264, allocations: 16 kB / 0.7887 GB, free: 5.941 MB / 0.5105 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.003827/0.8302, allocations: 1.352 MB / 0.79 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.8303, allocations: 12.03 kB / 0.79 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.8304, allocations: 30.56 kB / 0.79 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.831, allocations: 160.9 kB / 0.7902 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.8325, allocations: 0.6528 MB / 0.7908 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.8326, allocations: 21.5 kB / 0.7908 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.8327, allocations: 37.94 kB / 0.7909 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.8331, allocations: 388.9 kB / 0.7912 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8331, allocations: 0 / 0.7912 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8332, allocations: 4 kB / 0.7913 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8332, allocations: 0 / 0.7913 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.8335, allocations: 431.5 kB / 0.7917 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.835, allocations: 0.9868 MB / 0.7926 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.8356, allocations: 0.5547 MB / 0.7932 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.8359, allocations: 337 kB / 0.7935 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.8369, allocations: 1.032 MB / 0.7945 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.8373, allocations: 403.5 kB / 0.7949 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.8373, allocations: 0 / 0.7949 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001026/0.8384, allocations: 1.022 MB / 0.7959 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.8384, allocations: 81.09 kB / 0.796 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.8407, allocations: 1.617 MB / 0.7975 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/0.8408, allocations: 47.52 kB / 0.7976 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.8412, allocations: 0.4892 MB / 0.7981 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.8413, allocations: 18 kB / 0.7981 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.8414, allocations: 18.06 kB / 0.7981 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8415, allocations: 409.6 kB / 0.7985 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.8431, allocations: 1.456 MB / 0.7999 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.8446, allocations: 1.61 MB / 0.8015 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.8465, allocations: 1.86 MB / 0.8033 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8465, allocations: 0 / 0.8033 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004628/0.8511, allocations: 4.013 MB / 0.8072 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8511, allocations: 4 kB / 0.8072 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/0.8512, allocations: 20 kB / 0.8072 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.8512, allocations: 4 kB / 0.8072 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.8519, allocations: 150.5 kB / 0.8074 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.8519, allocations: 4 kB / 0.8074 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.8528, allocations: 243.5 kB / 0.8076 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.8529, allocations: 98.12 kB / 0.8077 GB, free: 4.918 MB / 0.5261 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.0001295/0.853, allocations: 136.2 kB / 0.8078 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.8531, allocations: 122 kB / 0.808 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.8542, allocations: 0.9985 MB / 0.8089 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8542, allocations: 3.984 kB / 0.8089 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8542, allocations: 0 / 0.8089 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8542, allocations: 4 kB / 0.8089 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.8548, allocations: 0.6792 MB / 0.8096 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8548, allocations: 4 kB / 0.8096 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.8549, allocations: 8.031 kB / 0.8096 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8549, allocations: 0 / 0.8096 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8549, allocations: 11.3 kB / 0.8096 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8549, allocations: 3.938 kB / 0.8096 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8549, allocations: 0 / 0.8096 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.8558, allocations: 1.071 MB / 0.8107 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.856, allocations: 203.1 kB / 0.8109 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.8561, allocations: 4 kB / 0.8109 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.8564, allocations: 15.55 kB / 0.8109 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.8565, allocations: 0 / 0.8109 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.8565, allocations: 15.97 kB / 0.8109 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001149/0.8577, allocations: 1.094 MB / 0.812 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8577, allocations: 0 / 0.812 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001519/0.8592, allocations: 0.5221 MB / 0.8125 GB, free: 288 kB / 0.5261 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.002634/0.8619, allocations: 2.136 MB / 0.8146 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8639, allocations: 2.506 MB / 0.817 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8639, allocations: 0 / 0.817 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.8642, allocations: 338.1 kB / 0.8173 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.8645, allocations: 60.62 kB / 0.8174 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.8679, allocations: 2.558 MB / 0.8199 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.8686, allocations: 1.179 MB / 0.821 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000385/0.869, allocations: 130.3 kB / 0.8212 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.8694, allocations: 469.4 kB / 0.8216 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of SimCode: time 3.6e-07/0.8694, allocations: 0 / 0.8216 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.9143, allocations: 23.84 MB / 0.8449 GB, free: 480 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.9145, allocations: 219 kB / 0.8451 GB, free: 252 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.601, allocations: 0 / 0.8451 GB, free: 252 kB / 0.5573 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)