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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 106.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 196.5 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8325/0.8325, allocations: 132.2 MB / 429.4 MB, free: 5.895 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 65.06 kB / 0.5894 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1751, allocations: 80.2 MB / 0.6677 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001797/0.177, allocations: 0.5453 MB / 0.6683 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1783, allocations: 0.9996 MB / 0.6693 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.1783, allocations: 4 kB / 0.6693 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1783, allocations: 0 / 0.6693 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.179, allocations: 79.8 kB / 0.6693 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.141e-05/0.1791, allocations: 19.92 kB / 0.6694 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.1792, allocations: 11.98 kB / 0.6694 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.1792, allocations: 0 / 0.6694 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.1793, allocations: 4 kB / 0.6694 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1795, allocations: 31.91 kB / 0.6694 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1795, allocations: 0 / 0.6694 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1797, allocations: 75.92 kB / 0.6695 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1797, allocations: 3.938 kB / 0.6695 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1798, allocations: 7.984 kB / 0.6695 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1799, allocations: 68.08 kB / 0.6695 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.18, allocations: 0 / 0.6695 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.18, allocations: 4 kB / 0.6696 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.18, allocations: 0 / 0.6696 GB, free: 7.91 MB / 0.4981 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.0003957/0.1804, allocations: 335.3 kB / 0.6699 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1804, allocations: 8.031 kB / 0.6699 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.1805, allocations: 34.75 kB / 0.6699 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.1805, allocations: 0.9375 kB / 0.6699 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1807, allocations: 168.3 kB / 0.6701 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1807, allocations: 3.938 kB / 0.6701 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1807, allocations: 0 / 0.6701 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.1808, allocations: 37.64 kB / 0.6701 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1808, allocations: 0 / 0.6701 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1809, allocations: 7.984 kB / 0.6701 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1809, allocations: 0 / 0.6701 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.1809, allocations: 11.94 kB / 0.6701 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1814, allocations: 464.5 kB / 0.6706 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.1815, allocations: 173.2 kB / 0.6707 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.1815, allocations: 80.14 kB / 0.6708 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1816, allocations: 75.28 kB / 0.6709 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.1816, allocations: 109.8 kB / 0.671 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1816, allocations: 0 / 0.671 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.079e-05/0.1817, allocations: 25.7 kB / 0.671 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1818, allocations: 134.7 kB / 0.6711 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1819, allocations: 101.8 kB / 0.6712 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1819, allocations: 25.7 kB / 0.6713 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.182, allocations: 84.14 kB / 0.6713 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.182, allocations: 0 / 0.6713 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.182, allocations: 13.72 kB / 0.6714 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1822, allocations: 314.8 kB / 0.6717 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.1822, allocations: 0 / 0.6717 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.1822, allocations: 11.94 kB / 0.6717 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.1822, allocations: 8.797 kB / 0.6717 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1822, allocations: 3.984 kB / 0.6717 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1824, allocations: 37.7 kB / 0.6717 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1824, allocations: 4 kB / 0.6717 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1824, allocations: 0 / 0.6717 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1824, allocations: 0 / 0.6717 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.344e-05/0.1824, allocations: 0 / 0.6717 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1824, allocations: 96 / 0.6717 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.1825, allocations: 15.89 kB / 0.6717 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1825, allocations: 0 / 0.6717 GB, free: 5.41 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.0001132/0.1826, allocations: 181.1 kB / 0.6719 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.1827, allocations: 108.9 kB / 0.672 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.1827, allocations: 108.1 kB / 0.6721 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/0.1828, allocations: 180.2 kB / 0.6723 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.642e-05/0.1829, allocations: 184.3 kB / 0.6725 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-05/0.183, allocations: 180.2 kB / 0.6726 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1833, allocations: 405.2 kB / 0.673 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.1833, allocations: 101 kB / 0.6731 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1834, allocations: 108.9 kB / 0.6732 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.537e-05/0.1835, allocations: 188.4 kB / 0.6734 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.294e-05/0.1836, allocations: 180.3 kB / 0.6736 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.271e-05/0.1837, allocations: 188.2 kB / 0.6738 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.909e-05/0.1837, allocations: 176.3 kB / 0.6739 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1839, allocations: 315.7 kB / 0.6742 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.184, allocations: 182.1 kB / 0.6744 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.1841, allocations: 180.2 kB / 0.6746 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.1842, allocations: 101 kB / 0.6747 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.1843, allocations: 188.2 kB / 0.6748 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.1843, allocations: 112.9 kB / 0.675 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.1844, allocations: 83.28 kB / 0.675 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1844, allocations: 0 / 0.675 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000254/0.1847, allocations: 15.94 kB / 0.675 GB, free: 1.789 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.0007464/0.1854, allocations: 0.878 MB / 0.6759 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.1855, allocations: 4 kB / 0.6759 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1855, allocations: 0 / 0.6759 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.1855, allocations: 4 kB / 0.6759 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1859, allocations: 459.6 kB / 0.6764 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.1865, allocations: 245.7 kB / 0.6766 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1868, allocations: 0.6729 MB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.1869, allocations: 0 / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.1869, allocations: 11.44 kB / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1869, allocations: 0 / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.2096, allocations: 1.52 MB / 0.6787 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.057, allocations: 7.641 kB / 0.6787 GB, free: 14.12 MB / 0.5137 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.659033563919365] Failed to read output from testmodel.py, exit status != 0: 8.122484231949784 8.136346382 7.953722095 Calling exit ...