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.0008098/0.0008098, 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.0007642/0.0007642, 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.8605/0.8605, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001466/0.001466, allocations: 237.3 kB / 259.4 MB, free: 13.01 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.6614/0.6614, allocations: 138.4 MB / 454.3 MB, free: 30 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.673e-06/1.673e-06, allocations: 0 / 0.6464 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.476e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000977/0.0009918, allocations: 0.588 MB / 0.6469 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.001893, allocations: 1.015 MB / 0.6479 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.001915, allocations: 0 / 0.6479 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.00193, allocations: 4 kB / 0.6479 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.002484, allocations: 91.77 kB / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 2.604e-05/0.00251, allocations: 19.86 kB / 0.648 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.002559, allocations: 0 / 0.648 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.002602, allocations: 4 kB / 0.648 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.002634, allocations: 3.984 kB / 0.648 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.002872, allocations: 31.97 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.002884, allocations: 0 / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.003123, allocations: 72.48 kB / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.003133, allocations: 0.875 kB / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003151, allocations: 1.969 kB / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.003312, allocations: 91.14 kB / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003315, allocations: 0 / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003316, allocations: 0 / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.00332, allocations: 0.7969 kB / 0.6482 GB, free: 55.89 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.0002287/0.003549, allocations: 258.8 kB / 0.6485 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.003589, allocations: 10.5 kB / 0.6485 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.197e-05/0.003611, allocations: 33.59 kB / 0.6485 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.003633, allocations: 2.375 kB / 0.6485 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.995e-05/0.003693, allocations: 112.4 kB / 0.6486 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.003702, allocations: 2.688 kB / 0.6486 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.003709, allocations: 0.9375 kB / 0.6486 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.148e-05/0.003781, allocations: 31.8 kB / 0.6487 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003787, allocations: 384 / 0.6487 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003796, allocations: 5.797 kB / 0.6487 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.0038, allocations: 0.5 kB / 0.6487 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.003816, allocations: 3.562 kB / 0.6487 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.004051, allocations: 361.4 kB / 0.649 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.004089, allocations: 172.4 kB / 0.6492 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.004102, allocations: 84.7 kB / 0.6493 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.004109, allocations: 76.12 kB / 0.6493 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.004127, allocations: 109.5 kB / 0.6494 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.004127, allocations: 0.875 kB / 0.6494 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.686e-05/0.004174, allocations: 33.14 kB / 0.6495 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.004198, allocations: 129.3 kB / 0.6496 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.004259, allocations: 100.9 kB / 0.6497 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.004263, allocations: 26.67 kB / 0.6497 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.004282, allocations: 86.16 kB / 0.6498 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.004285, allocations: 0 / 0.6498 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.004306, allocations: 19.64 kB / 0.6498 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.005e-05/0.004336, allocations: 313.6 kB / 0.6501 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.004345, allocations: 6.156 kB / 0.6501 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.00435, allocations: 1.594 kB / 0.6501 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.00437, allocations: 13.78 kB / 0.6501 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004372, allocations: 1.375 kB / 0.6501 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.875e-05/0.00445, allocations: 38.39 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.004463, allocations: 6.375 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004468, allocations: 0 / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004479, allocations: 1.281 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.004495, allocations: 1.953 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.004499, allocations: 1.531 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.00451, allocations: 1.875 kB / 0.6502 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.004515, allocations: 0.75 kB / 0.6502 GB, free: 53.86 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.678e-05/0.004551, allocations: 185 kB / 0.6504 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.004572, allocations: 115.8 kB / 0.6505 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.004589, allocations: 107.6 kB / 0.6506 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.004604, allocations: 181.8 kB / 0.6507 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.004619, allocations: 182.7 kB / 0.6509 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.004633, allocations: 181 kB / 0.6511 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.958e-05/0.004712, allocations: 377.2 kB / 0.6515 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.004722, allocations: 111.4 kB / 0.6516 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.004731, allocations: 106 kB / 0.6517 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.004746, allocations: 181.8 kB / 0.6518 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.004763, allocations: 181.1 kB / 0.652 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.004778, allocations: 181.1 kB / 0.6522 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.004791, allocations: 179.2 kB / 0.6524 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.486e-05/0.004835, allocations: 306.2 kB / 0.6526 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.004849, allocations: 111.2 kB / 0.6528 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.004871, allocations: 179.2 kB / 0.6529 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.004902, allocations: 106 kB / 0.653 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.004922, allocations: 184.4 kB / 0.6532 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.004932, allocations: 104 kB / 0.6533 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.004952, allocations: 84.58 kB / 0.6534 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.004952, allocations: 0 / 0.6534 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001675/0.005119, allocations: 25.02 kB / 0.6534 GB, free: 50.5 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.0003434/0.005463, allocations: 0.8709 MB / 0.6543 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.458e-05/0.005517, allocations: 8.844 kB / 0.6543 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005519, allocations: 0 / 0.6543 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.00552, allocations: 0 / 0.6543 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.005687, allocations: 460.4 kB / 0.6547 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.006061, allocations: 240.6 kB / 0.6549 GB, free: 49.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.612e-05/0.006087, allocations: 58.81 kB / 0.655 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.00611, allocations: 2.984 kB / 0.655 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.006137, allocations: 11.09 kB / 0.655 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.006137, allocations: 3.969 kB / 0.655 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.0215, allocations: 2.22 MB / 0.6572 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.701, allocations: 13.5 kB / 0.6572 GB, free: 48.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.418880607001483] Failed to read output from testmodel.py, exit status != 0: 7.012778251431882 7.02491399 6.788622409 Calling exit ...