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.001762/0.001761, allocations: 108.5 kB / 16.41 MB, free: 6.516 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.001803/0.001803, allocations: 189.3 kB / 17.34 MB, free: 5.738 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.828/0.828, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 74.02 kB / 0.5736 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1791, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001727/0.1809, allocations: 0.5484 MB / 0.6511 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1822, allocations: 1.005 MB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1822, allocations: 0 / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1823, allocations: 0 / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007298/0.183, allocations: 91.78 kB / 0.6522 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.877e-05/0.1831, allocations: 23.91 kB / 0.6522 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.743e-05/0.1831, allocations: 4 kB / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1832, allocations: 4 kB / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.1832, allocations: 0 / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1835, allocations: 39.97 kB / 0.6523 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1835, allocations: 0 / 0.6523 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1837, allocations: 79.84 kB / 0.6524 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1837, allocations: 7.938 kB / 0.6524 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.1837, allocations: 0 / 0.6524 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.184, allocations: 72.12 kB / 0.6524 GB, free: 1.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.184, allocations: 4 kB / 0.6524 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.184, allocations: 3.938 kB / 0.6524 GB, free: 1.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.184, allocations: 0 / 0.6524 GB, free: 1.684 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.0003609/0.1844, allocations: 331.3 kB / 0.6528 GB, free: 1.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1845, allocations: 15.97 kB / 0.6528 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1845, allocations: 30.75 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1845, allocations: 8.891 kB / 0.6528 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1847, allocations: 164.4 kB / 0.653 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1847, allocations: 3.938 kB / 0.653 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.1847, allocations: 0 / 0.653 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/0.1848, allocations: 33.69 kB / 0.653 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1848, allocations: 0 / 0.653 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1849, allocations: 0 / 0.653 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1849, allocations: 3.938 kB / 0.653 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.1849, allocations: 8 kB / 0.653 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1853, allocations: 460.6 kB / 0.6535 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.1854, allocations: 165.1 kB / 0.6536 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.1855, allocations: 88.17 kB / 0.6537 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1855, allocations: 79.28 kB / 0.6538 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.1856, allocations: 113.8 kB / 0.6539 GB, free: 16 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1856, allocations: 0 / 0.6539 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.488e-05/0.1857, allocations: 25.7 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.1857, allocations: 126.7 kB / 0.654 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1859, allocations: 101.9 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1859, allocations: 25.7 kB / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.1859, allocations: 88.12 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1859, allocations: 0 / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.186, allocations: 13.72 kB / 0.6542 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1861, allocations: 314.8 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1861, allocations: 0 / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.1861, allocations: 4 kB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.1862, allocations: 12.8 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1862, allocations: 4.062 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.1863, allocations: 33.88 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1863, allocations: 8 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1863, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1863, allocations: 3.984 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.81e-05/0.1864, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1864, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1864, allocations: 7.891 kB / 0.6546 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1864, allocations: 7.938 kB / 0.6546 GB, free: 15.19 MB / 0.4981 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 () * 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.0001004/0.1865, allocations: 185.2 kB / 0.6548 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.1866, allocations: 108.9 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.1867, allocations: 116 kB / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/0.1868, allocations: 180.2 kB / 0.6552 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000125/0.1869, allocations: 176.3 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.469e-05/0.187, allocations: 180.2 kB / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1873, allocations: 417.2 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-05/0.1873, allocations: 101 kB / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.1874, allocations: 104.9 kB / 0.6561 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-05/0.1875, allocations: 184.5 kB / 0.6563 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.1875, allocations: 176.3 kB / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-05/0.1876, allocations: 192.2 kB / 0.6567 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-05/0.1877, allocations: 180.3 kB / 0.6568 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1879, allocations: 303.7 kB / 0.6571 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.188, allocations: 186.1 kB / 0.6573 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.188, allocations: 184.2 kB / 0.6575 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.1881, allocations: 105 kB / 0.6576 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.1882, allocations: 180.2 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.1883, allocations: 108.9 kB / 0.6578 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.1883, allocations: 79.27 kB / 0.6579 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.1883, allocations: 4 kB / 0.6579 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003059/0.1886, allocations: 19.94 kB / 0.6579 GB, free: 11.57 MB / 0.4981 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 () * 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.0007274/0.1894, allocations: 0.8564 MB / 0.6588 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.1894, allocations: 11.98 kB / 0.6588 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1895, allocations: 0 / 0.6588 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.1895, allocations: 0 / 0.6588 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1899, allocations: 465.8 kB / 0.6592 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.1904, allocations: 241.7 kB / 0.6595 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1907, allocations: 0.6768 MB / 0.6601 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.1908, allocations: 4 kB / 0.6601 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1908, allocations: 7.438 kB / 0.6601 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1908, allocations: 0 / 0.6601 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2172, allocations: 1.561 MB / 0.6617 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.469, allocations: 9.531 kB / 0.6617 GB, free: 7.859 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)