Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007268/0.0007268, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007513/0.0007513, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8546/0.8546, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001484/0.001484, allocations: 232 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6536/0.6536, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6464 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.366e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0009764/0.0009901, allocations: 0.5871 MB / 0.6469 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.001917, allocations: 1.019 MB / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.001963, allocations: 0 / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.001978, allocations: 0 / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.002469, allocations: 91.77 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 2.402e-05/0.002493, allocations: 19.88 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.002534, allocations: 3.984 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.002572, allocations: 4 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.002598, allocations: 3.984 kB / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.002753, allocations: 31.97 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.002764, allocations: 0 / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2186/0.2213, allocations: 75.25 kB / 0.6481 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.2213, allocations: 1.734 kB / 0.6481 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.2214, allocations: 3.781 kB / 0.6481 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2215, allocations: 83.12 kB / 0.6482 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2215, allocations: 1.203 kB / 0.6482 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2215, allocations: 0.7812 kB / 0.6482 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2215, allocations: 0 / 0.6482 GB, free: 55.99 MB / 0.5573 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.000208/0.2217, allocations: 256.5 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2218, allocations: 12.47 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.825e-05/0.2218, allocations: 32.25 kB / 0.6485 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.2218, allocations: 4.531 kB / 0.6485 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.284e-05/0.2219, allocations: 111.4 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.2219, allocations: 1.859 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.2219, allocations: 1.125 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.2219, allocations: 32.59 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2219, allocations: 1.188 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.222, allocations: 4.547 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.222, allocations: 1.469 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.222, allocations: 2.812 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.2222, allocations: 359.7 kB / 0.649 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.338e-05/0.2222, allocations: 170.3 kB / 0.6492 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.2223, allocations: 88.95 kB / 0.6493 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.2223, allocations: 76.31 kB / 0.6493 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.2223, allocations: 108 kB / 0.6494 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2223, allocations: 0.5938 kB / 0.6494 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.409e-05/0.2223, allocations: 32.8 kB / 0.6495 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2223, allocations: 128.8 kB / 0.6496 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.2224, allocations: 100.4 kB / 0.6497 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-06/0.2224, allocations: 27.23 kB / 0.6497 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.2224, allocations: 86.19 kB / 0.6498 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.2224, allocations: 0 / 0.6498 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.2224, allocations: 14.77 kB / 0.6498 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.575e-05/0.2225, allocations: 314.8 kB / 0.6501 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.2225, allocations: 1.547 kB / 0.6501 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.2225, allocations: 3.328 kB / 0.6501 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.936e-05/0.2225, allocations: 15.67 kB / 0.6501 GB, free: 54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2225, allocations: 0 / 0.6501 GB, free: 54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.662e-05/0.2226, allocations: 38.83 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2226, allocations: 9.328 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2226, allocations: 1.375 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.2226, allocations: 2.281 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.2226, allocations: 6.016 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2226, allocations: 0 / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.2226, allocations: 1.891 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2226, allocations: 3.031 kB / 0.6502 GB, free: 53.96 MB / 0.5573 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 3.44e-05/0.2227, allocations: 184.5 kB / 0.6504 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2227, allocations: 112.3 kB / 0.6505 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.2227, allocations: 111.2 kB / 0.6506 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.2227, allocations: 179.2 kB / 0.6507 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.2227, allocations: 183 kB / 0.6509 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2228, allocations: 179.7 kB / 0.6511 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.473e-05/0.2228, allocations: 374.5 kB / 0.6515 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.2228, allocations: 114.9 kB / 0.6516 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.2229, allocations: 103.5 kB / 0.6517 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.2229, allocations: 182.1 kB / 0.6518 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2229, allocations: 180.1 kB / 0.652 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.2229, allocations: 181.5 kB / 0.6522 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.2229, allocations: 180.9 kB / 0.6524 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.25e-05/0.2229, allocations: 303.6 kB / 0.6526 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.223, allocations: 115.2 kB / 0.6528 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.223, allocations: 182.9 kB / 0.6529 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.223, allocations: 106.6 kB / 0.653 GB, free: 50.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.223, allocations: 182.1 kB / 0.6532 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.223, allocations: 107.2 kB / 0.6533 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.2231, allocations: 82.69 kB / 0.6534 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2231, allocations: 0 / 0.6534 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001686/0.2232, allocations: 23.97 kB / 0.6534 GB, free: 50.6 MB / 0.5573 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.0003278/0.2236, allocations: 0.8647 MB / 0.6542 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.999e-05/0.2236, allocations: 5.625 kB / 0.6543 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.2236, allocations: 3.938 kB / 0.6543 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2236, allocations: 1.75 kB / 0.6543 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.2238, allocations: 456 kB / 0.6547 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2242, allocations: 240.8 kB / 0.6549 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.2242, allocations: 57.16 kB / 0.655 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.2243, allocations: 3.25 kB / 0.655 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2243, allocations: 11.39 kB / 0.655 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2243, allocations: 0.7812 kB / 0.655 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2413, allocations: 2.226 MB / 0.6572 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/6.758, allocations: 3.906 kB / 0.6572 GB, free: 48.21 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.30677502695471] Failed to read output from testmodel.py, exit status != 0: 6.837010117247701 6.845007772 6.621789067 Calling exit ...