Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.002136/0.002136, 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.8154/0.8154, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.377/1.377, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009604/0.0009601, allocations: 104.3 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.315e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.408, allocations: 82.31 MB / 0.634 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5384, allocations: 112.3 MB / 0.7436 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5387, allocations: 107.9 kB / 0.7437 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004961/0.5437, allocations: 2.047 MB / 0.7457 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5437, allocations: 0 / 0.7457 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5437, allocations: 0 / 0.7457 GB, free: 8.262 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002457/0.544, allocations: 330.5 kB / 0.746 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.544, allocations: 8.031 kB / 0.746 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.544, allocations: 0 / 0.746 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.5442, allocations: 167 kB / 0.7462 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5442, allocations: 4 kB / 0.7462 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.5442, allocations: 3.938 kB / 0.7462 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.327e-05/0.5442, allocations: 0 / 0.7462 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/0.5443, allocations: 37.62 kB / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5443, allocations: 0 / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.5443, allocations: 0 / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.5443, allocations: 0 / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.5447, allocations: 445.2 kB / 0.7466 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.5447, allocations: 169.1 kB / 0.7468 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.5448, allocations: 84.08 kB / 0.7469 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.5448, allocations: 75.28 kB / 0.747 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.5449, allocations: 113.8 kB / 0.7471 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5449, allocations: 0 / 0.7471 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.294e-05/0.5449, allocations: 37.61 kB / 0.7471 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.545, allocations: 51.41 kB / 0.7471 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.545, allocations: 96.97 kB / 0.7472 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.5451, allocations: 25.7 kB / 0.7473 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.5451, allocations: 84.14 kB / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.5451, allocations: 0 / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.5451, allocations: 0 / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.5452, allocations: 314.8 kB / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.5452, allocations: 8 kB / 0.7477 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.5452, allocations: 0 / 0.7477 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.5453, allocations: 7.984 kB / 0.7477 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5453, allocations: 0 / 0.7477 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.914e-05/0.5454, allocations: 37.64 kB / 0.7477 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5454, allocations: 4 kB / 0.7477 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5454, allocations: 0 / 0.7477 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.5454, allocations: 0 / 0.7477 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.274e-05/0.5455, allocations: 0 / 0.7477 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.5455, allocations: 96 / 0.7477 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.5455, allocations: 4 kB / 0.7477 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5455, allocations: 7.984 kB / 0.7477 GB, free: 5.969 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.5456, allocations: 180.2 kB / 0.7479 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.869e-05/0.5457, allocations: 138.6 kB / 0.748 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.5457, allocations: 101 kB / 0.7481 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.5458, allocations: 104.7 kB / 0.7482 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/0.5458, allocations: 196.9 kB / 0.7484 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.5459, allocations: 176.3 kB / 0.7486 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/0.546, allocations: 176.3 kB / 0.7487 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.5461, allocations: 397.7 kB / 0.7491 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.5462, allocations: 101 kB / 0.7492 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.5462, allocations: 101 kB / 0.7493 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.5463, allocations: 188.2 kB / 0.7495 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.5463, allocations: 176.3 kB / 0.7497 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.5464, allocations: 184.2 kB / 0.7498 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.808e-05/0.5464, allocations: 180.2 kB / 0.75 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.5466, allocations: 307.8 kB / 0.7503 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.5467, allocations: 189.9 kB / 0.7505 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.5467, allocations: 176.3 kB / 0.7506 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.5468, allocations: 105 kB / 0.7507 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.5469, allocations: 185.1 kB / 0.7509 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.5469, allocations: 105 kB / 0.751 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.5469, allocations: 87.27 kB / 0.7511 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5469, allocations: 0 / 0.7511 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000238/0.5472, allocations: 24 kB / 0.7511 GB, free: 2.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/0.5478, allocations: 0.86 MB / 0.752 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.105e-05/0.5478, allocations: 4 kB / 0.752 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5478, allocations: 0 / 0.752 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5478, allocations: 0 / 0.752 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5481, allocations: 0.5324 MB / 0.7525 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.5511, allocations: 1.084 MB / 0.7536 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.5514, allocations: 0.6729 MB / 0.7542 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.5514, allocations: 0 / 0.7542 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.5515, allocations: 7.438 kB / 0.7542 GB, free: 15 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.5515, allocations: 0 / 0.7542 GB, free: 15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.5693, allocations: 0.9858 MB / 0.7552 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.5696, allocations: 235.6 kB / 0.7554 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.127, allocations: 4 kB / 0.7554 GB, free: 13.75 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)