Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001243/0.001243, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7575/0.7575, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 69.08 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1635, allocations: 77.93 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001615/0.1652, allocations: 0.5546 MB / 0.6447 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1664, allocations: 0.9995 MB / 0.6456 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.1664, allocations: 0 / 0.6456 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1665, allocations: 0 / 0.6456 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.1672, allocations: 99.75 kB / 0.6457 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-05/0.1672, allocations: 16 kB / 0.6457 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.1673, allocations: 7.938 kB / 0.6458 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.1674, allocations: 7.984 kB / 0.6458 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1674, allocations: 0 / 0.6458 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1676, allocations: 35.97 kB / 0.6458 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1676, allocations: 0 / 0.6458 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1678, allocations: 71.92 kB / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1678, allocations: 11.92 kB / 0.6459 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1679, allocations: 0 / 0.6459 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.168, allocations: 72.14 kB / 0.6459 GB, free: 7.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.168, allocations: 4 kB / 0.6459 GB, free: 7.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.168, allocations: 0 / 0.6459 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1681, allocations: 0 / 0.6459 GB, free: 7.633 MB / 494.1 MB 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.0003404/0.1684, allocations: 335.3 kB / 0.6463 GB, free: 7.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1685, allocations: 12.56 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.1685, allocations: 38.73 kB / 0.6463 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1685, allocations: 4.938 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1687, allocations: 164.3 kB / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1687, allocations: 384 / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1687, allocations: 384 / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.1688, allocations: 37.64 kB / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1688, allocations: 0 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1688, allocations: 0 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1688, allocations: 0 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.1689, allocations: 7.984 kB / 0.6465 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1693, allocations: 460.6 kB / 0.647 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.1693, allocations: 177.1 kB / 0.6471 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.1694, allocations: 84.17 kB / 0.6472 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1694, allocations: 79.22 kB / 0.6473 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.1695, allocations: 105.8 kB / 0.6474 GB, free: 5.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1695, allocations: 0 / 0.6474 GB, free: 5.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.215e-05/0.1695, allocations: 25.7 kB / 0.6474 GB, free: 5.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1696, allocations: 134.6 kB / 0.6475 GB, free: 5.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.1697, allocations: 105.8 kB / 0.6476 GB, free: 5.676 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1697, allocations: 25.7 kB / 0.6477 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.1698, allocations: 84.09 kB / 0.6477 GB, free: 5.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.1698, allocations: 1.125 kB / 0.6477 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.1698, allocations: 13.72 kB / 0.6478 GB, free: 5.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.17, allocations: 322.8 kB / 0.6481 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.17, allocations: 4 kB / 0.6481 GB, free: 5.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.17, allocations: 0 / 0.6481 GB, free: 5.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.17, allocations: 8.859 kB / 0.6481 GB, free: 5.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1701, allocations: 0 / 0.6481 GB, free: 5.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001159/0.1702, allocations: 37.64 kB / 0.6481 GB, free: 5.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1702, allocations: 4 kB / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1702, allocations: 0 / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1702, allocations: 0 / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.1702, allocations: 0 / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1703, allocations: 4.094 kB / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.1703, allocations: 0 / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1703, allocations: 11.92 kB / 0.6481 GB, free: 5.137 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1704, allocations: 189.9 kB / 0.6483 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.1705, allocations: 101 kB / 0.6484 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1705, allocations: 112 kB / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.691e-05/0.1706, allocations: 180.3 kB / 0.6487 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.869e-05/0.1707, allocations: 180.2 kB / 0.6489 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.501e-05/0.1708, allocations: 180.2 kB / 0.649 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1711, allocations: 405.2 kB / 0.6494 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/0.1711, allocations: 112.9 kB / 0.6495 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.1711, allocations: 101 kB / 0.6496 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/0.1712, allocations: 188.7 kB / 0.6498 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.1713, allocations: 180.2 kB / 0.65 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.416e-05/0.1714, allocations: 184.3 kB / 0.6502 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.196e-05/0.1714, allocations: 180.2 kB / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1716, allocations: 315.7 kB / 0.6506 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1717, allocations: 186.1 kB / 0.6508 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.1717, allocations: 180.2 kB / 0.651 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1718, allocations: 104.9 kB / 0.6511 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.1719, allocations: 176.3 kB / 0.6512 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.1719, allocations: 108.9 kB / 0.6513 GB, free: 1.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.204e-05/0.172, allocations: 91.22 kB / 0.6514 GB, free: 1.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.172, allocations: 0 / 0.6514 GB, free: 1.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1723, allocations: 19.92 kB / 0.6515 GB, free: 1.512 MB / 494.1 MB 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 () * Number of clocked 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 (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.0006383/0.1729, allocations: 0.8586 MB / 0.6523 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.209e-05/0.173, allocations: 4 kB / 0.6523 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.173, allocations: 0 / 0.6523 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.173, allocations: 3.938 kB / 0.6523 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1734, allocations: 459.8 kB / 0.6527 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.1741, allocations: 249.7 kB / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1744, allocations: 0.669 MB / 0.6536 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.1744, allocations: 4 kB / 0.6536 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1744, allocations: 11.42 kB / 0.6536 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1745, allocations: 0 / 0.6536 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1947, allocations: 1.569 MB / 0.6552 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.942, allocations: 3.094 kB / 0.6552 GB, free: 13.8 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)