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.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.001369/0.001369, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.00174/0.00174, allocations: 211.6 kB / 22.99 MB, free: 4.609 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9736/0.9736, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 62.59 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2172, allocations: 89.18 MB / 0.7282 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002016/0.2193, allocations: 0.5615 MB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2209, allocations: 1.004 MB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.2209, allocations: 4 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.2209, allocations: 3.938 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008216/0.2218, allocations: 95.77 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.2218, allocations: 15.94 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.2219, allocations: 4 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.2219, allocations: 0 / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.2219, allocations: 4 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.2222, allocations: 32.23 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2222, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2224, allocations: 83.84 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.2224, allocations: 4 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2224, allocations: 7.922 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.2226, allocations: 71.8 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2226, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2226, allocations: 3.938 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2226, allocations: 0 / 0.7301 GB, free: 15.04 MB / 0.5606 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.0003802/0.223, allocations: 250.3 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.223, allocations: 12.03 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.2231, allocations: 30.75 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.2231, allocations: 4.891 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2232, allocations: 114.5 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2233, allocations: 3.938 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.2233, allocations: 0 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2234, allocations: 33.69 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2234, allocations: 3.938 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2234, allocations: 3.938 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2234, allocations: 0 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.2234, allocations: 0 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.2239, allocations: 362.5 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.224, allocations: 173.2 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.224, allocations: 80.14 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.2241, allocations: 83.22 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.2241, allocations: 105.9 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2241, allocations: 4 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.898e-05/0.2242, allocations: 29.7 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.2243, allocations: 126.7 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2244, allocations: 101.8 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2244, allocations: 29.7 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.2245, allocations: 80.14 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.2245, allocations: 0 / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2245, allocations: 13.72 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2247, allocations: 322.8 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2247, allocations: 4 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.2247, allocations: 3.938 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.2247, allocations: 8.859 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2247, allocations: 0 / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.2248, allocations: 37.66 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2248, allocations: 5.875 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2248, allocations: 0 / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2249, allocations: 0 / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.2249, allocations: 4.094 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2249, allocations: 0 / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.2249, allocations: 3.938 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2249, allocations: 7.984 kB / 0.732 GB, free: 12.84 MB / 0.5606 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.0001222/0.225, allocations: 185.1 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.2251, allocations: 105.2 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.2252, allocations: 112.1 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.453e-05/0.2253, allocations: 184.2 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.452e-05/0.2253, allocations: 184.2 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.85e-05/0.2254, allocations: 180.3 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.2257, allocations: 388.3 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.2258, allocations: 108.9 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.2258, allocations: 104.9 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-05/0.2259, allocations: 180.3 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/0.226, allocations: 180.2 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.944e-05/0.2261, allocations: 180.3 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.64e-05/0.2262, allocations: 180.3 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.2263, allocations: 311.7 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.2264, allocations: 108.9 kB / 0.7346 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.2265, allocations: 180.3 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2266, allocations: 105 kB / 0.7349 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.2267, allocations: 184.2 kB / 0.735 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.2268, allocations: 108.9 kB / 0.7351 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.2268, allocations: 83.28 kB / 0.7352 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2268, allocations: 0 / 0.7352 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002737/0.2271, allocations: 27.86 kB / 0.7352 GB, free: 9.328 MB / 0.5606 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.0007539/0.2278, allocations: 0.854 MB / 0.7361 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.2279, allocations: 4 kB / 0.7361 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2279, allocations: 0 / 0.7361 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2279, allocations: 0 / 0.7361 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.2284, allocations: 463.6 kB / 0.7365 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.229, allocations: 253.6 kB / 0.7368 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/0.2291, allocations: 51.36 kB / 0.7368 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2291, allocations: 4 kB / 0.7368 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.2291, allocations: 15.48 kB / 0.7368 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2291, allocations: 0 / 0.7368 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.2606, allocations: 2.037 MB / 0.7388 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.87, allocations: 13.22 kB / 0.7388 GB, free: 5.758 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.668481829110533] Failed to read output from testmodel.py, exit status != 0: 11.973774404730648 11.989801104 11.763970939 Calling exit ...